{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "from sklearn.decomposition import FactorAnalysis,PCA\n",
    "from funcs import *"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 因子分析\n",
    "- 通过pca获得因子总体方差贡献率，确定最佳因子个数\n",
    "- 通过fa获得降维后的因子\n",
    "- 通过PCA的component组成对每个因子权重最大的特征进行组合筛选\n",
    "- spss软件因子分析工具"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 125,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>注册地址</th>\n",
       "      <th>注册资本变更</th>\n",
       "      <th>法人变更</th>\n",
       "      <th>分支机构</th>\n",
       "      <th>商标专利</th>\n",
       "      <th>场地租赁</th>\n",
       "      <th>场地自有</th>\n",
       "      <th>有无贷款</th>\n",
       "      <th>征信不良</th>\n",
       "      <th>征信关注</th>\n",
       "      <th>...</th>\n",
       "      <th>交易额均值</th>\n",
       "      <th>交易稳定性（近三个月交易量变化均值）</th>\n",
       "      <th>供应商数量</th>\n",
       "      <th>采购产品种类数量</th>\n",
       "      <th>账期订单占比</th>\n",
       "      <th>账期订单交易量均值</th>\n",
       "      <th>账期订单交易额均值</th>\n",
       "      <th>账期合作时间（月）</th>\n",
       "      <th>最近一笔账期订单（X月之前）</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>客户</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>无锡国友塑料制品有限公司</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.284767</td>\n",
       "      <td>-2.700000</td>\n",
       "      <td>0.133333</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.714286</td>\n",
       "      <td>0.207895</td>\n",
       "      <td>0.253537</td>\n",
       "      <td>0.1875</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>砀山县雁发塑胶制品有限公司</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.476908</td>\n",
       "      <td>-0.005849</td>\n",
       "      <td>0.066667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.212365</td>\n",
       "      <td>0.309364</td>\n",
       "      <td>0.9375</td>\n",
       "      <td>0.071429</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>宜兴市海燕塑料制品有限公司</th>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.389395</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.869565</td>\n",
       "      <td>0.225332</td>\n",
       "      <td>0.252437</td>\n",
       "      <td>0.8125</td>\n",
       "      <td>0.214286</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>佛山市南海区狮山联生塑料五金厂</th>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.401621</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.180139</td>\n",
       "      <td>0.223569</td>\n",
       "      <td>0.1250</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>深圳市南璋颜料有限公司</th>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.279371</td>\n",
       "      <td>0.028302</td>\n",
       "      <td>0.266667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.466667</td>\n",
       "      <td>0.279659</td>\n",
       "      <td>0.240580</td>\n",
       "      <td>0.6250</td>\n",
       "      <td>0.428571</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 55 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                 注册地址  注册资本变更  法人变更  分支机构  商标专利  场地租赁  场地自有  有无贷款  征信不良  征信关注  \\\n",
       "客户                                                                              \n",
       "无锡国友塑料制品有限公司        1       1     0     0   0.0     1     0   0.0     0     0   \n",
       "砀山县雁发塑胶制品有限公司       1       1     0     0   1.0     0     1   1.0     0     0   \n",
       "宜兴市海燕塑料制品有限公司       1       0     0     0   1.0     1     0   1.0     0     0   \n",
       "佛山市南海区狮山联生塑料五金厂     0       1     0     0   1.0     1     0   1.0     0     0   \n",
       "深圳市南璋颜料有限公司         1       0     0     0   0.0     1     0   1.0     0     0   \n",
       "\n",
       "                 ...       交易额均值  交易稳定性（近三个月交易量变化均值）     供应商数量  采购产品种类数量  \\\n",
       "客户               ...                                                       \n",
       "无锡国友塑料制品有限公司     ...    0.284767           -2.700000  0.133333  0.333333   \n",
       "砀山县雁发塑胶制品有限公司    ...    0.476908           -0.005849  0.066667  0.000000   \n",
       "宜兴市海燕塑料制品有限公司    ...    0.389395            0.000000  0.400000  0.000000   \n",
       "佛山市南海区狮山联生塑料五金厂  ...    0.401621            0.000000  0.400000  0.333333   \n",
       "深圳市南璋颜料有限公司      ...    0.279371            0.028302  0.266667  0.000000   \n",
       "\n",
       "                   账期订单占比  账期订单交易量均值  账期订单交易额均值  账期合作时间（月）  最近一笔账期订单（X月之前）  \\\n",
       "客户                                                                           \n",
       "无锡国友塑料制品有限公司     0.714286   0.207895   0.253537     0.1875        0.000000   \n",
       "砀山县雁发塑胶制品有限公司    1.000000   0.212365   0.309364     0.9375        0.071429   \n",
       "宜兴市海燕塑料制品有限公司    0.869565   0.225332   0.252437     0.8125        0.214286   \n",
       "佛山市南海区狮山联生塑料五金厂  0.400000   0.180139   0.223569     0.1250        0.000000   \n",
       "深圳市南璋颜料有限公司      0.466667   0.279659   0.240580     0.6250        0.428571   \n",
       "\n",
       "                 label  \n",
       "客户                      \n",
       "无锡国友塑料制品有限公司       0.0  \n",
       "砀山县雁发塑胶制品有限公司      0.0  \n",
       "宜兴市海燕塑料制品有限公司      0.0  \n",
       "佛山市南海区狮山联生塑料五金厂    0.0  \n",
       "深圳市南璋颜料有限公司        0.0  \n",
       "\n",
       "[5 rows x 55 columns]"
      ]
     },
     "execution_count": 125,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data = pd.read_csv('./data/samples_nor.csv',index_col=0)\n",
    "data.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[ -6.88227737e-01,  -1.92049588e-03,  -1.82307175e-01, ...,\n",
       "          1.79255492e-01,   2.22574944e+00,  -1.74044917e+00],\n",
       "       [ -3.53396620e-01,  -1.08798217e-01,  -2.08645819e+00, ...,\n",
       "         -7.40695251e-01,  -1.79563240e-01,  -2.08545635e+00],\n",
       "       [  5.27113809e-02,  -4.15419797e-01,  -4.79008422e-01, ...,\n",
       "          1.36977991e+00,  -4.27681339e-01,   1.89111549e-01],\n",
       "       ..., \n",
       "       [ -1.47661645e-01,  -5.87648456e-01,   3.13356225e-01, ...,\n",
       "         -2.51252618e-01,  -9.49933448e-02,   4.39584132e-01],\n",
       "       [ -3.52750071e-01,   2.95720531e-01,  -4.97084596e-02, ...,\n",
       "          8.39946848e-01,  -7.87063505e-01,  -5.98390088e-01],\n",
       "       [ -4.97735808e-02,  -6.67363434e-01,  -3.79203388e-01, ...,\n",
       "          3.48541550e-01,  -1.07497005e+00,   3.41311660e-01]])"
      ]
     },
     "execution_count": 93,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data = data.fillna(0)\n",
    "fa=FactorAnalysis(n_components=17)\n",
    "data_fit = fa.fit_transform(data.iloc[:,:-1],y=data.iloc[:,-1])\n",
    "data_fit"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 94,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>14</th>\n",
       "      <th>15</th>\n",
       "      <th>16</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>-0.688228</td>\n",
       "      <td>-0.001920</td>\n",
       "      <td>-0.182307</td>\n",
       "      <td>-1.286540</td>\n",
       "      <td>-0.164597</td>\n",
       "      <td>-0.300650</td>\n",
       "      <td>-0.215712</td>\n",
       "      <td>-0.208361</td>\n",
       "      <td>-0.471054</td>\n",
       "      <td>-0.498336</td>\n",
       "      <td>-0.249803</td>\n",
       "      <td>-0.348927</td>\n",
       "      <td>-0.150503</td>\n",
       "      <td>1.917883</td>\n",
       "      <td>0.179255</td>\n",
       "      <td>2.225749</td>\n",
       "      <td>-1.740449</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>-0.353397</td>\n",
       "      <td>-0.108798</td>\n",
       "      <td>-2.086458</td>\n",
       "      <td>1.473887</td>\n",
       "      <td>0.403729</td>\n",
       "      <td>0.137234</td>\n",
       "      <td>-1.031719</td>\n",
       "      <td>0.859384</td>\n",
       "      <td>1.892865</td>\n",
       "      <td>-1.192267</td>\n",
       "      <td>-0.316390</td>\n",
       "      <td>-0.358481</td>\n",
       "      <td>0.133440</td>\n",
       "      <td>-0.398401</td>\n",
       "      <td>-0.740695</td>\n",
       "      <td>-0.179563</td>\n",
       "      <td>-2.085456</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0.052711</td>\n",
       "      <td>-0.415420</td>\n",
       "      <td>-0.479008</td>\n",
       "      <td>-0.515121</td>\n",
       "      <td>0.892254</td>\n",
       "      <td>-0.646435</td>\n",
       "      <td>-1.678635</td>\n",
       "      <td>-0.213360</td>\n",
       "      <td>-0.193679</td>\n",
       "      <td>0.743199</td>\n",
       "      <td>-0.963651</td>\n",
       "      <td>-0.191247</td>\n",
       "      <td>0.024954</td>\n",
       "      <td>0.402080</td>\n",
       "      <td>1.369780</td>\n",
       "      <td>-0.427681</td>\n",
       "      <td>0.189112</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0.029470</td>\n",
       "      <td>-0.207445</td>\n",
       "      <td>-0.563403</td>\n",
       "      <td>0.554820</td>\n",
       "      <td>0.383234</td>\n",
       "      <td>-1.074851</td>\n",
       "      <td>1.744827</td>\n",
       "      <td>-1.707359</td>\n",
       "      <td>0.182159</td>\n",
       "      <td>-0.200117</td>\n",
       "      <td>0.056864</td>\n",
       "      <td>-0.116501</td>\n",
       "      <td>-1.545536</td>\n",
       "      <td>0.238204</td>\n",
       "      <td>1.029068</td>\n",
       "      <td>-0.056504</td>\n",
       "      <td>0.487852</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>-0.501220</td>\n",
       "      <td>0.068424</td>\n",
       "      <td>-0.083874</td>\n",
       "      <td>-0.448417</td>\n",
       "      <td>-0.224484</td>\n",
       "      <td>0.560540</td>\n",
       "      <td>-0.289896</td>\n",
       "      <td>-0.225206</td>\n",
       "      <td>0.017144</td>\n",
       "      <td>1.383319</td>\n",
       "      <td>-0.488200</td>\n",
       "      <td>-0.165076</td>\n",
       "      <td>-0.040655</td>\n",
       "      <td>0.102150</td>\n",
       "      <td>1.647642</td>\n",
       "      <td>0.707972</td>\n",
       "      <td>0.335482</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>-0.468519</td>\n",
       "      <td>-0.267939</td>\n",
       "      <td>0.563756</td>\n",
       "      <td>0.067370</td>\n",
       "      <td>-0.642897</td>\n",
       "      <td>-0.106117</td>\n",
       "      <td>0.726145</td>\n",
       "      <td>-0.545282</td>\n",
       "      <td>-0.405947</td>\n",
       "      <td>0.243202</td>\n",
       "      <td>-0.141740</td>\n",
       "      <td>-0.344722</td>\n",
       "      <td>0.347050</td>\n",
       "      <td>1.561724</td>\n",
       "      <td>0.309208</td>\n",
       "      <td>2.943712</td>\n",
       "      <td>-1.994504</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0.851140</td>\n",
       "      <td>1.337637</td>\n",
       "      <td>0.692473</td>\n",
       "      <td>1.257055</td>\n",
       "      <td>-0.775092</td>\n",
       "      <td>1.071934</td>\n",
       "      <td>-0.925182</td>\n",
       "      <td>-0.502635</td>\n",
       "      <td>0.123087</td>\n",
       "      <td>-0.190289</td>\n",
       "      <td>1.110040</td>\n",
       "      <td>0.215031</td>\n",
       "      <td>0.159605</td>\n",
       "      <td>-2.015780</td>\n",
       "      <td>-0.429151</td>\n",
       "      <td>-0.404454</td>\n",
       "      <td>-0.428959</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0.824979</td>\n",
       "      <td>0.428238</td>\n",
       "      <td>-0.019440</td>\n",
       "      <td>-1.142004</td>\n",
       "      <td>1.486147</td>\n",
       "      <td>-1.564751</td>\n",
       "      <td>-1.872600</td>\n",
       "      <td>-1.027544</td>\n",
       "      <td>-0.302623</td>\n",
       "      <td>-0.183134</td>\n",
       "      <td>-0.575583</td>\n",
       "      <td>-0.675136</td>\n",
       "      <td>-0.301057</td>\n",
       "      <td>0.134549</td>\n",
       "      <td>1.543745</td>\n",
       "      <td>0.338736</td>\n",
       "      <td>1.255436</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>-0.939707</td>\n",
       "      <td>-0.653624</td>\n",
       "      <td>1.053376</td>\n",
       "      <td>0.103608</td>\n",
       "      <td>-0.412853</td>\n",
       "      <td>0.343024</td>\n",
       "      <td>0.765333</td>\n",
       "      <td>-0.507174</td>\n",
       "      <td>-0.156940</td>\n",
       "      <td>-0.171549</td>\n",
       "      <td>-0.304052</td>\n",
       "      <td>2.087487</td>\n",
       "      <td>-1.188745</td>\n",
       "      <td>-0.179382</td>\n",
       "      <td>-0.267696</td>\n",
       "      <td>0.297357</td>\n",
       "      <td>0.347428</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>-0.257867</td>\n",
       "      <td>0.297047</td>\n",
       "      <td>-1.890904</td>\n",
       "      <td>0.392458</td>\n",
       "      <td>1.647018</td>\n",
       "      <td>-1.466568</td>\n",
       "      <td>2.647631</td>\n",
       "      <td>-1.627369</td>\n",
       "      <td>0.311085</td>\n",
       "      <td>-0.756534</td>\n",
       "      <td>-0.061430</td>\n",
       "      <td>2.218786</td>\n",
       "      <td>2.719134</td>\n",
       "      <td>-0.267023</td>\n",
       "      <td>1.112456</td>\n",
       "      <td>-0.512117</td>\n",
       "      <td>-1.073458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>-0.299613</td>\n",
       "      <td>-0.783908</td>\n",
       "      <td>0.551708</td>\n",
       "      <td>-0.318033</td>\n",
       "      <td>-0.225682</td>\n",
       "      <td>0.036278</td>\n",
       "      <td>0.732967</td>\n",
       "      <td>-0.668362</td>\n",
       "      <td>-0.115058</td>\n",
       "      <td>-0.302453</td>\n",
       "      <td>-0.226948</td>\n",
       "      <td>-0.973333</td>\n",
       "      <td>-0.564782</td>\n",
       "      <td>0.796434</td>\n",
       "      <td>-0.634424</td>\n",
       "      <td>-0.873257</td>\n",
       "      <td>1.040855</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>-0.882951</td>\n",
       "      <td>-0.704098</td>\n",
       "      <td>1.067414</td>\n",
       "      <td>0.001247</td>\n",
       "      <td>-0.372390</td>\n",
       "      <td>0.427591</td>\n",
       "      <td>0.628828</td>\n",
       "      <td>0.728923</td>\n",
       "      <td>1.647886</td>\n",
       "      <td>0.262569</td>\n",
       "      <td>0.042366</td>\n",
       "      <td>-0.116392</td>\n",
       "      <td>0.557146</td>\n",
       "      <td>0.442410</td>\n",
       "      <td>1.372709</td>\n",
       "      <td>0.125540</td>\n",
       "      <td>-1.072501</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0.008823</td>\n",
       "      <td>-0.644593</td>\n",
       "      <td>-0.140516</td>\n",
       "      <td>0.505766</td>\n",
       "      <td>-0.637626</td>\n",
       "      <td>0.641365</td>\n",
       "      <td>0.425636</td>\n",
       "      <td>-0.660977</td>\n",
       "      <td>-0.107263</td>\n",
       "      <td>0.226304</td>\n",
       "      <td>-0.511129</td>\n",
       "      <td>0.097668</td>\n",
       "      <td>0.264398</td>\n",
       "      <td>-1.221474</td>\n",
       "      <td>0.162389</td>\n",
       "      <td>1.015594</td>\n",
       "      <td>-0.029854</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>0.690000</td>\n",
       "      <td>-0.893877</td>\n",
       "      <td>-0.918607</td>\n",
       "      <td>0.865029</td>\n",
       "      <td>0.215831</td>\n",
       "      <td>1.320622</td>\n",
       "      <td>1.718298</td>\n",
       "      <td>-1.648953</td>\n",
       "      <td>0.212895</td>\n",
       "      <td>0.329493</td>\n",
       "      <td>-0.218178</td>\n",
       "      <td>0.225752</td>\n",
       "      <td>-0.933266</td>\n",
       "      <td>0.532109</td>\n",
       "      <td>0.840157</td>\n",
       "      <td>-2.877844</td>\n",
       "      <td>1.916421</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0.502419</td>\n",
       "      <td>0.129358</td>\n",
       "      <td>0.417872</td>\n",
       "      <td>0.427891</td>\n",
       "      <td>-0.768850</td>\n",
       "      <td>0.088630</td>\n",
       "      <td>-0.293558</td>\n",
       "      <td>-0.028857</td>\n",
       "      <td>0.213806</td>\n",
       "      <td>-0.131201</td>\n",
       "      <td>-0.264622</td>\n",
       "      <td>0.597155</td>\n",
       "      <td>-0.375785</td>\n",
       "      <td>-1.054587</td>\n",
       "      <td>-0.781966</td>\n",
       "      <td>0.416652</td>\n",
       "      <td>-0.443097</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>-0.276232</td>\n",
       "      <td>-0.218762</td>\n",
       "      <td>0.956409</td>\n",
       "      <td>-0.717832</td>\n",
       "      <td>0.420192</td>\n",
       "      <td>0.677404</td>\n",
       "      <td>-1.156918</td>\n",
       "      <td>-0.196232</td>\n",
       "      <td>0.015292</td>\n",
       "      <td>-0.273759</td>\n",
       "      <td>-0.577845</td>\n",
       "      <td>-0.323119</td>\n",
       "      <td>0.191485</td>\n",
       "      <td>0.511646</td>\n",
       "      <td>0.450391</td>\n",
       "      <td>-0.089546</td>\n",
       "      <td>0.181111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>-0.624789</td>\n",
       "      <td>0.967290</td>\n",
       "      <td>-0.955381</td>\n",
       "      <td>-0.991322</td>\n",
       "      <td>-0.420174</td>\n",
       "      <td>4.913657</td>\n",
       "      <td>-0.226111</td>\n",
       "      <td>0.166238</td>\n",
       "      <td>0.299511</td>\n",
       "      <td>-0.620818</td>\n",
       "      <td>-0.589293</td>\n",
       "      <td>0.285798</td>\n",
       "      <td>0.990924</td>\n",
       "      <td>0.883316</td>\n",
       "      <td>-0.725650</td>\n",
       "      <td>0.363234</td>\n",
       "      <td>1.320035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>4.540238</td>\n",
       "      <td>-2.380097</td>\n",
       "      <td>-1.724233</td>\n",
       "      <td>-3.318273</td>\n",
       "      <td>-1.386304</td>\n",
       "      <td>-0.657920</td>\n",
       "      <td>0.247261</td>\n",
       "      <td>0.964142</td>\n",
       "      <td>0.558751</td>\n",
       "      <td>-0.788070</td>\n",
       "      <td>0.678431</td>\n",
       "      <td>-0.771876</td>\n",
       "      <td>0.291571</td>\n",
       "      <td>-1.575386</td>\n",
       "      <td>-0.518046</td>\n",
       "      <td>0.382947</td>\n",
       "      <td>-0.209606</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>-0.842811</td>\n",
       "      <td>-0.828034</td>\n",
       "      <td>1.425352</td>\n",
       "      <td>-0.189417</td>\n",
       "      <td>-0.518843</td>\n",
       "      <td>0.401770</td>\n",
       "      <td>1.407597</td>\n",
       "      <td>-0.466498</td>\n",
       "      <td>-0.154490</td>\n",
       "      <td>-0.193787</td>\n",
       "      <td>0.083591</td>\n",
       "      <td>-0.286028</td>\n",
       "      <td>-0.373043</td>\n",
       "      <td>0.446572</td>\n",
       "      <td>-0.386091</td>\n",
       "      <td>-0.147755</td>\n",
       "      <td>0.506638</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>-0.301288</td>\n",
       "      <td>0.262297</td>\n",
       "      <td>0.353071</td>\n",
       "      <td>-0.656307</td>\n",
       "      <td>-0.476769</td>\n",
       "      <td>-1.137441</td>\n",
       "      <td>0.484080</td>\n",
       "      <td>-0.516967</td>\n",
       "      <td>-0.138892</td>\n",
       "      <td>-0.426613</td>\n",
       "      <td>-0.079574</td>\n",
       "      <td>-0.924060</td>\n",
       "      <td>-0.740919</td>\n",
       "      <td>0.777403</td>\n",
       "      <td>-0.506066</td>\n",
       "      <td>-1.076723</td>\n",
       "      <td>-0.154209</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1.445327</td>\n",
       "      <td>-1.321225</td>\n",
       "      <td>1.055403</td>\n",
       "      <td>-0.708388</td>\n",
       "      <td>-0.583605</td>\n",
       "      <td>1.846571</td>\n",
       "      <td>-0.254759</td>\n",
       "      <td>-0.527116</td>\n",
       "      <td>-0.118148</td>\n",
       "      <td>0.071758</td>\n",
       "      <td>0.211261</td>\n",
       "      <td>-0.032246</td>\n",
       "      <td>0.294042</td>\n",
       "      <td>-1.297816</td>\n",
       "      <td>0.048690</td>\n",
       "      <td>0.103168</td>\n",
       "      <td>-2.191410</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>-0.198740</td>\n",
       "      <td>-0.117371</td>\n",
       "      <td>0.823076</td>\n",
       "      <td>-0.751407</td>\n",
       "      <td>0.519779</td>\n",
       "      <td>0.489262</td>\n",
       "      <td>-1.405125</td>\n",
       "      <td>-0.275321</td>\n",
       "      <td>-0.158565</td>\n",
       "      <td>-0.198550</td>\n",
       "      <td>-0.382026</td>\n",
       "      <td>-0.363241</td>\n",
       "      <td>0.190533</td>\n",
       "      <td>0.436935</td>\n",
       "      <td>0.720944</td>\n",
       "      <td>0.037096</td>\n",
       "      <td>0.179688</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>0.101656</td>\n",
       "      <td>2.666923</td>\n",
       "      <td>2.573407</td>\n",
       "      <td>0.541011</td>\n",
       "      <td>-1.461616</td>\n",
       "      <td>-2.378750</td>\n",
       "      <td>0.476176</td>\n",
       "      <td>0.567798</td>\n",
       "      <td>1.248325</td>\n",
       "      <td>-0.921623</td>\n",
       "      <td>0.369259</td>\n",
       "      <td>-0.678981</td>\n",
       "      <td>-0.772271</td>\n",
       "      <td>-1.470907</td>\n",
       "      <td>-0.553599</td>\n",
       "      <td>-1.288063</td>\n",
       "      <td>0.307981</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>0.738708</td>\n",
       "      <td>-0.050630</td>\n",
       "      <td>0.530690</td>\n",
       "      <td>1.006232</td>\n",
       "      <td>-1.352439</td>\n",
       "      <td>0.069380</td>\n",
       "      <td>0.885141</td>\n",
       "      <td>-0.782244</td>\n",
       "      <td>-0.030465</td>\n",
       "      <td>2.053937</td>\n",
       "      <td>-0.009812</td>\n",
       "      <td>0.087016</td>\n",
       "      <td>-0.312290</td>\n",
       "      <td>-2.147774</td>\n",
       "      <td>1.569197</td>\n",
       "      <td>-0.196098</td>\n",
       "      <td>-0.912400</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>-0.144320</td>\n",
       "      <td>0.683238</td>\n",
       "      <td>0.402180</td>\n",
       "      <td>0.898432</td>\n",
       "      <td>-0.430492</td>\n",
       "      <td>-0.328546</td>\n",
       "      <td>0.123522</td>\n",
       "      <td>1.736882</td>\n",
       "      <td>-3.209811</td>\n",
       "      <td>0.934266</td>\n",
       "      <td>-0.241068</td>\n",
       "      <td>-0.920205</td>\n",
       "      <td>-0.215539</td>\n",
       "      <td>-1.323793</td>\n",
       "      <td>0.471655</td>\n",
       "      <td>-0.484871</td>\n",
       "      <td>0.368825</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>-0.294207</td>\n",
       "      <td>-0.198115</td>\n",
       "      <td>0.267340</td>\n",
       "      <td>0.335682</td>\n",
       "      <td>-0.389834</td>\n",
       "      <td>0.161857</td>\n",
       "      <td>0.064430</td>\n",
       "      <td>-0.477349</td>\n",
       "      <td>0.036151</td>\n",
       "      <td>-0.142455</td>\n",
       "      <td>-0.408895</td>\n",
       "      <td>-0.073516</td>\n",
       "      <td>-0.407608</td>\n",
       "      <td>-0.715435</td>\n",
       "      <td>0.238063</td>\n",
       "      <td>0.549649</td>\n",
       "      <td>0.514448</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>-0.819263</td>\n",
       "      <td>-0.264864</td>\n",
       "      <td>0.733998</td>\n",
       "      <td>-0.861589</td>\n",
       "      <td>-0.094454</td>\n",
       "      <td>-1.538545</td>\n",
       "      <td>0.268303</td>\n",
       "      <td>-0.433833</td>\n",
       "      <td>-0.439257</td>\n",
       "      <td>0.083459</td>\n",
       "      <td>0.317905</td>\n",
       "      <td>1.155812</td>\n",
       "      <td>5.398657</td>\n",
       "      <td>-0.504649</td>\n",
       "      <td>-0.411348</td>\n",
       "      <td>0.077969</td>\n",
       "      <td>0.960409</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>-0.123208</td>\n",
       "      <td>0.219341</td>\n",
       "      <td>-0.580071</td>\n",
       "      <td>0.085340</td>\n",
       "      <td>-0.514689</td>\n",
       "      <td>-1.215358</td>\n",
       "      <td>-0.176874</td>\n",
       "      <td>0.346768</td>\n",
       "      <td>1.347516</td>\n",
       "      <td>-0.650481</td>\n",
       "      <td>-0.349209</td>\n",
       "      <td>0.024385</td>\n",
       "      <td>-0.601443</td>\n",
       "      <td>-0.589749</td>\n",
       "      <td>-0.551599</td>\n",
       "      <td>0.896294</td>\n",
       "      <td>0.465725</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>-0.725040</td>\n",
       "      <td>-0.376993</td>\n",
       "      <td>-0.384847</td>\n",
       "      <td>0.754812</td>\n",
       "      <td>0.076358</td>\n",
       "      <td>0.295182</td>\n",
       "      <td>-0.386517</td>\n",
       "      <td>0.740494</td>\n",
       "      <td>-0.196089</td>\n",
       "      <td>-0.707999</td>\n",
       "      <td>-0.145603</td>\n",
       "      <td>-0.312402</td>\n",
       "      <td>-0.192610</td>\n",
       "      <td>-0.430799</td>\n",
       "      <td>-0.556353</td>\n",
       "      <td>0.795964</td>\n",
       "      <td>0.776004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>-0.563955</td>\n",
       "      <td>-0.106479</td>\n",
       "      <td>-1.177858</td>\n",
       "      <td>0.880679</td>\n",
       "      <td>0.293492</td>\n",
       "      <td>-0.155809</td>\n",
       "      <td>-1.103612</td>\n",
       "      <td>-0.450654</td>\n",
       "      <td>-0.190854</td>\n",
       "      <td>-0.202720</td>\n",
       "      <td>-0.919387</td>\n",
       "      <td>-0.078159</td>\n",
       "      <td>-0.017999</td>\n",
       "      <td>-0.366591</td>\n",
       "      <td>-0.109493</td>\n",
       "      <td>-0.637450</td>\n",
       "      <td>-2.209238</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>-0.231254</td>\n",
       "      <td>0.783187</td>\n",
       "      <td>0.425048</td>\n",
       "      <td>1.059363</td>\n",
       "      <td>-0.559783</td>\n",
       "      <td>0.338041</td>\n",
       "      <td>-0.273528</td>\n",
       "      <td>-0.410339</td>\n",
       "      <td>0.161148</td>\n",
       "      <td>0.117688</td>\n",
       "      <td>-0.471463</td>\n",
       "      <td>0.158206</td>\n",
       "      <td>-0.298774</td>\n",
       "      <td>-1.069930</td>\n",
       "      <td>-0.106904</td>\n",
       "      <td>-0.298590</td>\n",
       "      <td>-0.070309</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>-0.151619</td>\n",
       "      <td>-0.781324</td>\n",
       "      <td>0.446484</td>\n",
       "      <td>-1.083584</td>\n",
       "      <td>0.670192</td>\n",
       "      <td>-0.305587</td>\n",
       "      <td>-1.188242</td>\n",
       "      <td>1.821244</td>\n",
       "      <td>-1.327762</td>\n",
       "      <td>0.047399</td>\n",
       "      <td>1.029343</td>\n",
       "      <td>6.236868</td>\n",
       "      <td>-2.193498</td>\n",
       "      <td>-0.101804</td>\n",
       "      <td>-0.298597</td>\n",
       "      <td>-0.271536</td>\n",
       "      <td>-0.136436</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>-0.764559</td>\n",
       "      <td>-0.523025</td>\n",
       "      <td>0.888647</td>\n",
       "      <td>-0.059549</td>\n",
       "      <td>0.015374</td>\n",
       "      <td>0.244254</td>\n",
       "      <td>1.117192</td>\n",
       "      <td>-0.724348</td>\n",
       "      <td>-0.170935</td>\n",
       "      <td>-0.341946</td>\n",
       "      <td>0.030010</td>\n",
       "      <td>-0.335850</td>\n",
       "      <td>0.550708</td>\n",
       "      <td>0.486216</td>\n",
       "      <td>-3.136485</td>\n",
       "      <td>-0.413280</td>\n",
       "      <td>0.504702</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>-0.193832</td>\n",
       "      <td>0.073855</td>\n",
       "      <td>0.417229</td>\n",
       "      <td>-0.755526</td>\n",
       "      <td>0.109892</td>\n",
       "      <td>0.036019</td>\n",
       "      <td>-1.035728</td>\n",
       "      <td>-0.317143</td>\n",
       "      <td>-0.368357</td>\n",
       "      <td>-0.336481</td>\n",
       "      <td>0.045845</td>\n",
       "      <td>-0.446100</td>\n",
       "      <td>-0.001844</td>\n",
       "      <td>0.114887</td>\n",
       "      <td>0.496215</td>\n",
       "      <td>0.580620</td>\n",
       "      <td>0.779916</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>2.785155</td>\n",
       "      <td>2.031324</td>\n",
       "      <td>1.041318</td>\n",
       "      <td>-0.158400</td>\n",
       "      <td>4.674334</td>\n",
       "      <td>1.023819</td>\n",
       "      <td>1.868757</td>\n",
       "      <td>-0.402728</td>\n",
       "      <td>-1.062113</td>\n",
       "      <td>-0.282065</td>\n",
       "      <td>-0.028749</td>\n",
       "      <td>-0.493681</td>\n",
       "      <td>-0.906978</td>\n",
       "      <td>0.157841</td>\n",
       "      <td>-1.813697</td>\n",
       "      <td>1.262636</td>\n",
       "      <td>-0.778455</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>-0.841596</td>\n",
       "      <td>-0.178520</td>\n",
       "      <td>0.389129</td>\n",
       "      <td>-0.237031</td>\n",
       "      <td>-0.315005</td>\n",
       "      <td>-0.830240</td>\n",
       "      <td>0.238261</td>\n",
       "      <td>0.323857</td>\n",
       "      <td>-1.220746</td>\n",
       "      <td>0.081893</td>\n",
       "      <td>-0.352499</td>\n",
       "      <td>-0.489866</td>\n",
       "      <td>-0.621780</td>\n",
       "      <td>0.480163</td>\n",
       "      <td>-1.602957</td>\n",
       "      <td>-0.381262</td>\n",
       "      <td>-1.995444</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>0.183649</td>\n",
       "      <td>-0.861476</td>\n",
       "      <td>-0.865594</td>\n",
       "      <td>0.045966</td>\n",
       "      <td>0.104492</td>\n",
       "      <td>0.410891</td>\n",
       "      <td>-0.827716</td>\n",
       "      <td>-0.532236</td>\n",
       "      <td>-0.303021</td>\n",
       "      <td>-0.191239</td>\n",
       "      <td>-0.006214</td>\n",
       "      <td>-0.170294</td>\n",
       "      <td>-0.099987</td>\n",
       "      <td>0.541839</td>\n",
       "      <td>-0.024179</td>\n",
       "      <td>-1.679915</td>\n",
       "      <td>0.812263</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>-0.829784</td>\n",
       "      <td>0.428948</td>\n",
       "      <td>-2.214564</td>\n",
       "      <td>1.689439</td>\n",
       "      <td>0.795115</td>\n",
       "      <td>-0.379567</td>\n",
       "      <td>-1.272253</td>\n",
       "      <td>-0.314157</td>\n",
       "      <td>0.841294</td>\n",
       "      <td>-0.214719</td>\n",
       "      <td>-1.167752</td>\n",
       "      <td>0.296344</td>\n",
       "      <td>-0.404933</td>\n",
       "      <td>-1.170785</td>\n",
       "      <td>-1.923042</td>\n",
       "      <td>2.517815</td>\n",
       "      <td>2.513689</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>-0.545072</td>\n",
       "      <td>-0.275568</td>\n",
       "      <td>0.237257</td>\n",
       "      <td>-0.180711</td>\n",
       "      <td>-0.470801</td>\n",
       "      <td>1.066679</td>\n",
       "      <td>0.325458</td>\n",
       "      <td>-0.158035</td>\n",
       "      <td>0.388480</td>\n",
       "      <td>-0.463635</td>\n",
       "      <td>-0.378669</td>\n",
       "      <td>-0.053970</td>\n",
       "      <td>-0.182602</td>\n",
       "      <td>0.601498</td>\n",
       "      <td>0.043641</td>\n",
       "      <td>-0.779745</td>\n",
       "      <td>-0.935965</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>-0.492706</td>\n",
       "      <td>-0.284612</td>\n",
       "      <td>0.701127</td>\n",
       "      <td>-0.630650</td>\n",
       "      <td>0.140948</td>\n",
       "      <td>-1.388883</td>\n",
       "      <td>-0.732762</td>\n",
       "      <td>-0.187519</td>\n",
       "      <td>-0.506813</td>\n",
       "      <td>-0.152654</td>\n",
       "      <td>-0.291497</td>\n",
       "      <td>-0.481082</td>\n",
       "      <td>-0.473128</td>\n",
       "      <td>0.120060</td>\n",
       "      <td>0.893069</td>\n",
       "      <td>0.983198</td>\n",
       "      <td>0.838456</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>1.261888</td>\n",
       "      <td>1.759502</td>\n",
       "      <td>1.007719</td>\n",
       "      <td>-0.244752</td>\n",
       "      <td>2.217008</td>\n",
       "      <td>0.296323</td>\n",
       "      <td>0.295590</td>\n",
       "      <td>-0.726956</td>\n",
       "      <td>0.837789</td>\n",
       "      <td>0.430065</td>\n",
       "      <td>0.122630</td>\n",
       "      <td>0.271544</td>\n",
       "      <td>0.156956</td>\n",
       "      <td>-0.682841</td>\n",
       "      <td>1.141004</td>\n",
       "      <td>-0.098469</td>\n",
       "      <td>0.414860</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>0.389632</td>\n",
       "      <td>0.828046</td>\n",
       "      <td>1.726829</td>\n",
       "      <td>0.190733</td>\n",
       "      <td>1.064049</td>\n",
       "      <td>0.898721</td>\n",
       "      <td>-2.427485</td>\n",
       "      <td>1.455619</td>\n",
       "      <td>1.145125</td>\n",
       "      <td>-1.125438</td>\n",
       "      <td>-0.418623</td>\n",
       "      <td>-0.063709</td>\n",
       "      <td>1.590542</td>\n",
       "      <td>-0.567381</td>\n",
       "      <td>0.139579</td>\n",
       "      <td>-1.378981</td>\n",
       "      <td>-0.231695</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>-0.545054</td>\n",
       "      <td>0.328725</td>\n",
       "      <td>0.899313</td>\n",
       "      <td>-0.075092</td>\n",
       "      <td>-0.039639</td>\n",
       "      <td>-0.463565</td>\n",
       "      <td>-0.513837</td>\n",
       "      <td>0.185716</td>\n",
       "      <td>0.818452</td>\n",
       "      <td>-0.663267</td>\n",
       "      <td>-0.277454</td>\n",
       "      <td>-0.136178</td>\n",
       "      <td>0.044054</td>\n",
       "      <td>0.468708</td>\n",
       "      <td>-0.096294</td>\n",
       "      <td>-0.627148</td>\n",
       "      <td>-0.704470</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>-0.170564</td>\n",
       "      <td>0.580543</td>\n",
       "      <td>-0.450345</td>\n",
       "      <td>0.232001</td>\n",
       "      <td>-0.150684</td>\n",
       "      <td>-0.486330</td>\n",
       "      <td>-0.349959</td>\n",
       "      <td>0.793103</td>\n",
       "      <td>1.212977</td>\n",
       "      <td>1.836225</td>\n",
       "      <td>-0.192551</td>\n",
       "      <td>0.009354</td>\n",
       "      <td>0.438536</td>\n",
       "      <td>-0.701010</td>\n",
       "      <td>-1.059286</td>\n",
       "      <td>0.936384</td>\n",
       "      <td>0.476443</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>0.206899</td>\n",
       "      <td>-0.392345</td>\n",
       "      <td>-0.736733</td>\n",
       "      <td>-0.062384</td>\n",
       "      <td>-0.661118</td>\n",
       "      <td>-0.833708</td>\n",
       "      <td>0.039743</td>\n",
       "      <td>-0.643240</td>\n",
       "      <td>-0.285246</td>\n",
       "      <td>0.092453</td>\n",
       "      <td>-0.184637</td>\n",
       "      <td>-0.125300</td>\n",
       "      <td>-0.695739</td>\n",
       "      <td>-0.956423</td>\n",
       "      <td>-0.134532</td>\n",
       "      <td>1.433673</td>\n",
       "      <td>0.743881</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>0.297298</td>\n",
       "      <td>-0.710201</td>\n",
       "      <td>-0.425449</td>\n",
       "      <td>-0.288422</td>\n",
       "      <td>-0.667967</td>\n",
       "      <td>0.283849</td>\n",
       "      <td>0.566164</td>\n",
       "      <td>-0.745253</td>\n",
       "      <td>-0.380654</td>\n",
       "      <td>-0.125672</td>\n",
       "      <td>-0.289630</td>\n",
       "      <td>-0.256202</td>\n",
       "      <td>-0.518577</td>\n",
       "      <td>-0.512077</td>\n",
       "      <td>-0.316182</td>\n",
       "      <td>0.794395</td>\n",
       "      <td>0.490595</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>0.062142</td>\n",
       "      <td>-0.683295</td>\n",
       "      <td>0.848142</td>\n",
       "      <td>-0.013655</td>\n",
       "      <td>-0.286437</td>\n",
       "      <td>0.716010</td>\n",
       "      <td>-0.129155</td>\n",
       "      <td>-0.322651</td>\n",
       "      <td>-0.172869</td>\n",
       "      <td>-0.273620</td>\n",
       "      <td>1.309161</td>\n",
       "      <td>-0.169181</td>\n",
       "      <td>0.005405</td>\n",
       "      <td>-0.521786</td>\n",
       "      <td>0.052087</td>\n",
       "      <td>0.336540</td>\n",
       "      <td>0.133399</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>-0.353160</td>\n",
       "      <td>-0.365921</td>\n",
       "      <td>-0.934469</td>\n",
       "      <td>0.471736</td>\n",
       "      <td>0.707057</td>\n",
       "      <td>-0.201978</td>\n",
       "      <td>0.581174</td>\n",
       "      <td>3.059001</td>\n",
       "      <td>-2.133048</td>\n",
       "      <td>-1.757933</td>\n",
       "      <td>-0.299315</td>\n",
       "      <td>-1.688501</td>\n",
       "      <td>-0.318859</td>\n",
       "      <td>0.447304</td>\n",
       "      <td>0.133565</td>\n",
       "      <td>-0.857497</td>\n",
       "      <td>-0.336097</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>-0.017603</td>\n",
       "      <td>-0.502444</td>\n",
       "      <td>-0.288012</td>\n",
       "      <td>-0.480749</td>\n",
       "      <td>0.676662</td>\n",
       "      <td>-0.499655</td>\n",
       "      <td>-0.065459</td>\n",
       "      <td>1.064193</td>\n",
       "      <td>0.182583</td>\n",
       "      <td>5.761246</td>\n",
       "      <td>-0.076610</td>\n",
       "      <td>-0.516557</td>\n",
       "      <td>0.532843</td>\n",
       "      <td>0.783111</td>\n",
       "      <td>-2.808962</td>\n",
       "      <td>-0.924942</td>\n",
       "      <td>-0.097665</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>-0.334772</td>\n",
       "      <td>5.099064</td>\n",
       "      <td>-2.303426</td>\n",
       "      <td>-2.982077</td>\n",
       "      <td>-2.607967</td>\n",
       "      <td>0.428896</td>\n",
       "      <td>0.743141</td>\n",
       "      <td>0.014618</td>\n",
       "      <td>-0.434889</td>\n",
       "      <td>0.321795</td>\n",
       "      <td>0.363994</td>\n",
       "      <td>0.572094</td>\n",
       "      <td>-0.266208</td>\n",
       "      <td>0.885236</td>\n",
       "      <td>0.284470</td>\n",
       "      <td>-0.374027</td>\n",
       "      <td>-0.232897</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>-0.242709</td>\n",
       "      <td>-0.527762</td>\n",
       "      <td>0.859866</td>\n",
       "      <td>-0.332350</td>\n",
       "      <td>-0.147849</td>\n",
       "      <td>0.432101</td>\n",
       "      <td>-0.299629</td>\n",
       "      <td>-0.437013</td>\n",
       "      <td>-0.237209</td>\n",
       "      <td>-0.073821</td>\n",
       "      <td>1.212763</td>\n",
       "      <td>-0.286918</td>\n",
       "      <td>1.427518</td>\n",
       "      <td>-0.083250</td>\n",
       "      <td>0.258478</td>\n",
       "      <td>0.125516</td>\n",
       "      <td>0.684770</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>-0.668856</td>\n",
       "      <td>0.003197</td>\n",
       "      <td>-1.209168</td>\n",
       "      <td>1.243062</td>\n",
       "      <td>0.426499</td>\n",
       "      <td>0.069277</td>\n",
       "      <td>-0.211669</td>\n",
       "      <td>-0.842274</td>\n",
       "      <td>0.034385</td>\n",
       "      <td>0.104891</td>\n",
       "      <td>-0.778271</td>\n",
       "      <td>0.140473</td>\n",
       "      <td>-0.269770</td>\n",
       "      <td>-0.424086</td>\n",
       "      <td>0.361763</td>\n",
       "      <td>0.023046</td>\n",
       "      <td>-2.403376</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>0.267644</td>\n",
       "      <td>-0.231830</td>\n",
       "      <td>-1.441103</td>\n",
       "      <td>0.154818</td>\n",
       "      <td>-0.563674</td>\n",
       "      <td>-0.265969</td>\n",
       "      <td>-0.304033</td>\n",
       "      <td>-0.536859</td>\n",
       "      <td>-0.359384</td>\n",
       "      <td>-0.289237</td>\n",
       "      <td>-0.547521</td>\n",
       "      <td>-0.045935</td>\n",
       "      <td>-0.448946</td>\n",
       "      <td>-0.099356</td>\n",
       "      <td>-0.309193</td>\n",
       "      <td>-1.809034</td>\n",
       "      <td>0.017739</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>-0.700597</td>\n",
       "      <td>-0.369744</td>\n",
       "      <td>0.512004</td>\n",
       "      <td>-0.357886</td>\n",
       "      <td>-0.192078</td>\n",
       "      <td>-0.090012</td>\n",
       "      <td>0.008950</td>\n",
       "      <td>-0.463919</td>\n",
       "      <td>-0.293716</td>\n",
       "      <td>-0.194174</td>\n",
       "      <td>-0.199197</td>\n",
       "      <td>-0.329852</td>\n",
       "      <td>-0.542533</td>\n",
       "      <td>0.234159</td>\n",
       "      <td>0.402053</td>\n",
       "      <td>0.989869</td>\n",
       "      <td>1.042865</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>-0.826065</td>\n",
       "      <td>-0.047312</td>\n",
       "      <td>-1.092770</td>\n",
       "      <td>1.180482</td>\n",
       "      <td>0.460868</td>\n",
       "      <td>0.152022</td>\n",
       "      <td>-0.842006</td>\n",
       "      <td>-0.502384</td>\n",
       "      <td>-0.026844</td>\n",
       "      <td>-0.016747</td>\n",
       "      <td>6.925354</td>\n",
       "      <td>-0.946375</td>\n",
       "      <td>-0.327370</td>\n",
       "      <td>0.538313</td>\n",
       "      <td>0.076114</td>\n",
       "      <td>0.492343</td>\n",
       "      <td>0.053214</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>0.082744</td>\n",
       "      <td>-0.361899</td>\n",
       "      <td>-1.186479</td>\n",
       "      <td>0.410926</td>\n",
       "      <td>0.152640</td>\n",
       "      <td>0.002664</td>\n",
       "      <td>-0.737646</td>\n",
       "      <td>-0.690076</td>\n",
       "      <td>-0.293181</td>\n",
       "      <td>-0.197263</td>\n",
       "      <td>0.128871</td>\n",
       "      <td>0.026990</td>\n",
       "      <td>0.488598</td>\n",
       "      <td>0.400444</td>\n",
       "      <td>-0.822592</td>\n",
       "      <td>-1.968169</td>\n",
       "      <td>-0.234249</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>-0.393180</td>\n",
       "      <td>-0.054619</td>\n",
       "      <td>-0.712809</td>\n",
       "      <td>0.456016</td>\n",
       "      <td>0.319626</td>\n",
       "      <td>-0.457918</td>\n",
       "      <td>1.876988</td>\n",
       "      <td>2.805660</td>\n",
       "      <td>-2.069315</td>\n",
       "      <td>-1.337918</td>\n",
       "      <td>0.154536</td>\n",
       "      <td>-0.148491</td>\n",
       "      <td>1.286205</td>\n",
       "      <td>-0.588645</td>\n",
       "      <td>0.296446</td>\n",
       "      <td>0.091006</td>\n",
       "      <td>0.910169</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>-0.147662</td>\n",
       "      <td>-0.587648</td>\n",
       "      <td>0.313356</td>\n",
       "      <td>-0.720077</td>\n",
       "      <td>0.514894</td>\n",
       "      <td>-0.678454</td>\n",
       "      <td>1.626441</td>\n",
       "      <td>2.105305</td>\n",
       "      <td>4.537988</td>\n",
       "      <td>-0.595268</td>\n",
       "      <td>0.369752</td>\n",
       "      <td>0.306359</td>\n",
       "      <td>-0.825609</td>\n",
       "      <td>1.427840</td>\n",
       "      <td>-0.251253</td>\n",
       "      <td>-0.094993</td>\n",
       "      <td>0.439584</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>-0.352750</td>\n",
       "      <td>0.295721</td>\n",
       "      <td>-0.049708</td>\n",
       "      <td>-0.778639</td>\n",
       "      <td>1.044027</td>\n",
       "      <td>-1.058181</td>\n",
       "      <td>-1.213247</td>\n",
       "      <td>-0.472948</td>\n",
       "      <td>-0.170801</td>\n",
       "      <td>1.031356</td>\n",
       "      <td>0.599213</td>\n",
       "      <td>-0.451179</td>\n",
       "      <td>-0.373084</td>\n",
       "      <td>1.340598</td>\n",
       "      <td>0.839947</td>\n",
       "      <td>-0.787064</td>\n",
       "      <td>-0.598390</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>-0.049774</td>\n",
       "      <td>-0.667363</td>\n",
       "      <td>-0.379203</td>\n",
       "      <td>-0.471671</td>\n",
       "      <td>0.207780</td>\n",
       "      <td>-0.549415</td>\n",
       "      <td>-0.896032</td>\n",
       "      <td>0.052699</td>\n",
       "      <td>0.080364</td>\n",
       "      <td>-0.367399</td>\n",
       "      <td>-0.502514</td>\n",
       "      <td>-0.105321</td>\n",
       "      <td>-0.247042</td>\n",
       "      <td>0.627011</td>\n",
       "      <td>0.348542</td>\n",
       "      <td>-1.074970</td>\n",
       "      <td>0.341312</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>63 rows × 17 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          0         1         2         3         4         5         6   \\\n",
       "0  -0.688228 -0.001920 -0.182307 -1.286540 -0.164597 -0.300650 -0.215712   \n",
       "1  -0.353397 -0.108798 -2.086458  1.473887  0.403729  0.137234 -1.031719   \n",
       "2   0.052711 -0.415420 -0.479008 -0.515121  0.892254 -0.646435 -1.678635   \n",
       "3   0.029470 -0.207445 -0.563403  0.554820  0.383234 -1.074851  1.744827   \n",
       "4  -0.501220  0.068424 -0.083874 -0.448417 -0.224484  0.560540 -0.289896   \n",
       "5  -0.468519 -0.267939  0.563756  0.067370 -0.642897 -0.106117  0.726145   \n",
       "6   0.851140  1.337637  0.692473  1.257055 -0.775092  1.071934 -0.925182   \n",
       "7   0.824979  0.428238 -0.019440 -1.142004  1.486147 -1.564751 -1.872600   \n",
       "8  -0.939707 -0.653624  1.053376  0.103608 -0.412853  0.343024  0.765333   \n",
       "9  -0.257867  0.297047 -1.890904  0.392458  1.647018 -1.466568  2.647631   \n",
       "10 -0.299613 -0.783908  0.551708 -0.318033 -0.225682  0.036278  0.732967   \n",
       "11 -0.882951 -0.704098  1.067414  0.001247 -0.372390  0.427591  0.628828   \n",
       "12  0.008823 -0.644593 -0.140516  0.505766 -0.637626  0.641365  0.425636   \n",
       "13  0.690000 -0.893877 -0.918607  0.865029  0.215831  1.320622  1.718298   \n",
       "14  0.502419  0.129358  0.417872  0.427891 -0.768850  0.088630 -0.293558   \n",
       "15 -0.276232 -0.218762  0.956409 -0.717832  0.420192  0.677404 -1.156918   \n",
       "16 -0.624789  0.967290 -0.955381 -0.991322 -0.420174  4.913657 -0.226111   \n",
       "17  4.540238 -2.380097 -1.724233 -3.318273 -1.386304 -0.657920  0.247261   \n",
       "18 -0.842811 -0.828034  1.425352 -0.189417 -0.518843  0.401770  1.407597   \n",
       "19 -0.301288  0.262297  0.353071 -0.656307 -0.476769 -1.137441  0.484080   \n",
       "20  1.445327 -1.321225  1.055403 -0.708388 -0.583605  1.846571 -0.254759   \n",
       "21 -0.198740 -0.117371  0.823076 -0.751407  0.519779  0.489262 -1.405125   \n",
       "22  0.101656  2.666923  2.573407  0.541011 -1.461616 -2.378750  0.476176   \n",
       "23  0.738708 -0.050630  0.530690  1.006232 -1.352439  0.069380  0.885141   \n",
       "24 -0.144320  0.683238  0.402180  0.898432 -0.430492 -0.328546  0.123522   \n",
       "25 -0.294207 -0.198115  0.267340  0.335682 -0.389834  0.161857  0.064430   \n",
       "26 -0.819263 -0.264864  0.733998 -0.861589 -0.094454 -1.538545  0.268303   \n",
       "27 -0.123208  0.219341 -0.580071  0.085340 -0.514689 -1.215358 -0.176874   \n",
       "28 -0.725040 -0.376993 -0.384847  0.754812  0.076358  0.295182 -0.386517   \n",
       "29 -0.563955 -0.106479 -1.177858  0.880679  0.293492 -0.155809 -1.103612   \n",
       "..       ...       ...       ...       ...       ...       ...       ...   \n",
       "33 -0.231254  0.783187  0.425048  1.059363 -0.559783  0.338041 -0.273528   \n",
       "34 -0.151619 -0.781324  0.446484 -1.083584  0.670192 -0.305587 -1.188242   \n",
       "35 -0.764559 -0.523025  0.888647 -0.059549  0.015374  0.244254  1.117192   \n",
       "36 -0.193832  0.073855  0.417229 -0.755526  0.109892  0.036019 -1.035728   \n",
       "37  2.785155  2.031324  1.041318 -0.158400  4.674334  1.023819  1.868757   \n",
       "38 -0.841596 -0.178520  0.389129 -0.237031 -0.315005 -0.830240  0.238261   \n",
       "39  0.183649 -0.861476 -0.865594  0.045966  0.104492  0.410891 -0.827716   \n",
       "40 -0.829784  0.428948 -2.214564  1.689439  0.795115 -0.379567 -1.272253   \n",
       "41 -0.545072 -0.275568  0.237257 -0.180711 -0.470801  1.066679  0.325458   \n",
       "42 -0.492706 -0.284612  0.701127 -0.630650  0.140948 -1.388883 -0.732762   \n",
       "43  1.261888  1.759502  1.007719 -0.244752  2.217008  0.296323  0.295590   \n",
       "44  0.389632  0.828046  1.726829  0.190733  1.064049  0.898721 -2.427485   \n",
       "45 -0.545054  0.328725  0.899313 -0.075092 -0.039639 -0.463565 -0.513837   \n",
       "46 -0.170564  0.580543 -0.450345  0.232001 -0.150684 -0.486330 -0.349959   \n",
       "47  0.206899 -0.392345 -0.736733 -0.062384 -0.661118 -0.833708  0.039743   \n",
       "48  0.297298 -0.710201 -0.425449 -0.288422 -0.667967  0.283849  0.566164   \n",
       "49  0.062142 -0.683295  0.848142 -0.013655 -0.286437  0.716010 -0.129155   \n",
       "50 -0.353160 -0.365921 -0.934469  0.471736  0.707057 -0.201978  0.581174   \n",
       "51 -0.017603 -0.502444 -0.288012 -0.480749  0.676662 -0.499655 -0.065459   \n",
       "52 -0.334772  5.099064 -2.303426 -2.982077 -2.607967  0.428896  0.743141   \n",
       "53 -0.242709 -0.527762  0.859866 -0.332350 -0.147849  0.432101 -0.299629   \n",
       "54 -0.668856  0.003197 -1.209168  1.243062  0.426499  0.069277 -0.211669   \n",
       "55  0.267644 -0.231830 -1.441103  0.154818 -0.563674 -0.265969 -0.304033   \n",
       "56 -0.700597 -0.369744  0.512004 -0.357886 -0.192078 -0.090012  0.008950   \n",
       "57 -0.826065 -0.047312 -1.092770  1.180482  0.460868  0.152022 -0.842006   \n",
       "58  0.082744 -0.361899 -1.186479  0.410926  0.152640  0.002664 -0.737646   \n",
       "59 -0.393180 -0.054619 -0.712809  0.456016  0.319626 -0.457918  1.876988   \n",
       "60 -0.147662 -0.587648  0.313356 -0.720077  0.514894 -0.678454  1.626441   \n",
       "61 -0.352750  0.295721 -0.049708 -0.778639  1.044027 -1.058181 -1.213247   \n",
       "62 -0.049774 -0.667363 -0.379203 -0.471671  0.207780 -0.549415 -0.896032   \n",
       "\n",
       "          7         8         9         10        11        12        13  \\\n",
       "0  -0.208361 -0.471054 -0.498336 -0.249803 -0.348927 -0.150503  1.917883   \n",
       "1   0.859384  1.892865 -1.192267 -0.316390 -0.358481  0.133440 -0.398401   \n",
       "2  -0.213360 -0.193679  0.743199 -0.963651 -0.191247  0.024954  0.402080   \n",
       "3  -1.707359  0.182159 -0.200117  0.056864 -0.116501 -1.545536  0.238204   \n",
       "4  -0.225206  0.017144  1.383319 -0.488200 -0.165076 -0.040655  0.102150   \n",
       "5  -0.545282 -0.405947  0.243202 -0.141740 -0.344722  0.347050  1.561724   \n",
       "6  -0.502635  0.123087 -0.190289  1.110040  0.215031  0.159605 -2.015780   \n",
       "7  -1.027544 -0.302623 -0.183134 -0.575583 -0.675136 -0.301057  0.134549   \n",
       "8  -0.507174 -0.156940 -0.171549 -0.304052  2.087487 -1.188745 -0.179382   \n",
       "9  -1.627369  0.311085 -0.756534 -0.061430  2.218786  2.719134 -0.267023   \n",
       "10 -0.668362 -0.115058 -0.302453 -0.226948 -0.973333 -0.564782  0.796434   \n",
       "11  0.728923  1.647886  0.262569  0.042366 -0.116392  0.557146  0.442410   \n",
       "12 -0.660977 -0.107263  0.226304 -0.511129  0.097668  0.264398 -1.221474   \n",
       "13 -1.648953  0.212895  0.329493 -0.218178  0.225752 -0.933266  0.532109   \n",
       "14 -0.028857  0.213806 -0.131201 -0.264622  0.597155 -0.375785 -1.054587   \n",
       "15 -0.196232  0.015292 -0.273759 -0.577845 -0.323119  0.191485  0.511646   \n",
       "16  0.166238  0.299511 -0.620818 -0.589293  0.285798  0.990924  0.883316   \n",
       "17  0.964142  0.558751 -0.788070  0.678431 -0.771876  0.291571 -1.575386   \n",
       "18 -0.466498 -0.154490 -0.193787  0.083591 -0.286028 -0.373043  0.446572   \n",
       "19 -0.516967 -0.138892 -0.426613 -0.079574 -0.924060 -0.740919  0.777403   \n",
       "20 -0.527116 -0.118148  0.071758  0.211261 -0.032246  0.294042 -1.297816   \n",
       "21 -0.275321 -0.158565 -0.198550 -0.382026 -0.363241  0.190533  0.436935   \n",
       "22  0.567798  1.248325 -0.921623  0.369259 -0.678981 -0.772271 -1.470907   \n",
       "23 -0.782244 -0.030465  2.053937 -0.009812  0.087016 -0.312290 -2.147774   \n",
       "24  1.736882 -3.209811  0.934266 -0.241068 -0.920205 -0.215539 -1.323793   \n",
       "25 -0.477349  0.036151 -0.142455 -0.408895 -0.073516 -0.407608 -0.715435   \n",
       "26 -0.433833 -0.439257  0.083459  0.317905  1.155812  5.398657 -0.504649   \n",
       "27  0.346768  1.347516 -0.650481 -0.349209  0.024385 -0.601443 -0.589749   \n",
       "28  0.740494 -0.196089 -0.707999 -0.145603 -0.312402 -0.192610 -0.430799   \n",
       "29 -0.450654 -0.190854 -0.202720 -0.919387 -0.078159 -0.017999 -0.366591   \n",
       "..       ...       ...       ...       ...       ...       ...       ...   \n",
       "33 -0.410339  0.161148  0.117688 -0.471463  0.158206 -0.298774 -1.069930   \n",
       "34  1.821244 -1.327762  0.047399  1.029343  6.236868 -2.193498 -0.101804   \n",
       "35 -0.724348 -0.170935 -0.341946  0.030010 -0.335850  0.550708  0.486216   \n",
       "36 -0.317143 -0.368357 -0.336481  0.045845 -0.446100 -0.001844  0.114887   \n",
       "37 -0.402728 -1.062113 -0.282065 -0.028749 -0.493681 -0.906978  0.157841   \n",
       "38  0.323857 -1.220746  0.081893 -0.352499 -0.489866 -0.621780  0.480163   \n",
       "39 -0.532236 -0.303021 -0.191239 -0.006214 -0.170294 -0.099987  0.541839   \n",
       "40 -0.314157  0.841294 -0.214719 -1.167752  0.296344 -0.404933 -1.170785   \n",
       "41 -0.158035  0.388480 -0.463635 -0.378669 -0.053970 -0.182602  0.601498   \n",
       "42 -0.187519 -0.506813 -0.152654 -0.291497 -0.481082 -0.473128  0.120060   \n",
       "43 -0.726956  0.837789  0.430065  0.122630  0.271544  0.156956 -0.682841   \n",
       "44  1.455619  1.145125 -1.125438 -0.418623 -0.063709  1.590542 -0.567381   \n",
       "45  0.185716  0.818452 -0.663267 -0.277454 -0.136178  0.044054  0.468708   \n",
       "46  0.793103  1.212977  1.836225 -0.192551  0.009354  0.438536 -0.701010   \n",
       "47 -0.643240 -0.285246  0.092453 -0.184637 -0.125300 -0.695739 -0.956423   \n",
       "48 -0.745253 -0.380654 -0.125672 -0.289630 -0.256202 -0.518577 -0.512077   \n",
       "49 -0.322651 -0.172869 -0.273620  1.309161 -0.169181  0.005405 -0.521786   \n",
       "50  3.059001 -2.133048 -1.757933 -0.299315 -1.688501 -0.318859  0.447304   \n",
       "51  1.064193  0.182583  5.761246 -0.076610 -0.516557  0.532843  0.783111   \n",
       "52  0.014618 -0.434889  0.321795  0.363994  0.572094 -0.266208  0.885236   \n",
       "53 -0.437013 -0.237209 -0.073821  1.212763 -0.286918  1.427518 -0.083250   \n",
       "54 -0.842274  0.034385  0.104891 -0.778271  0.140473 -0.269770 -0.424086   \n",
       "55 -0.536859 -0.359384 -0.289237 -0.547521 -0.045935 -0.448946 -0.099356   \n",
       "56 -0.463919 -0.293716 -0.194174 -0.199197 -0.329852 -0.542533  0.234159   \n",
       "57 -0.502384 -0.026844 -0.016747  6.925354 -0.946375 -0.327370  0.538313   \n",
       "58 -0.690076 -0.293181 -0.197263  0.128871  0.026990  0.488598  0.400444   \n",
       "59  2.805660 -2.069315 -1.337918  0.154536 -0.148491  1.286205 -0.588645   \n",
       "60  2.105305  4.537988 -0.595268  0.369752  0.306359 -0.825609  1.427840   \n",
       "61 -0.472948 -0.170801  1.031356  0.599213 -0.451179 -0.373084  1.340598   \n",
       "62  0.052699  0.080364 -0.367399 -0.502514 -0.105321 -0.247042  0.627011   \n",
       "\n",
       "          14        15        16  \n",
       "0   0.179255  2.225749 -1.740449  \n",
       "1  -0.740695 -0.179563 -2.085456  \n",
       "2   1.369780 -0.427681  0.189112  \n",
       "3   1.029068 -0.056504  0.487852  \n",
       "4   1.647642  0.707972  0.335482  \n",
       "5   0.309208  2.943712 -1.994504  \n",
       "6  -0.429151 -0.404454 -0.428959  \n",
       "7   1.543745  0.338736  1.255436  \n",
       "8  -0.267696  0.297357  0.347428  \n",
       "9   1.112456 -0.512117 -1.073458  \n",
       "10 -0.634424 -0.873257  1.040855  \n",
       "11  1.372709  0.125540 -1.072501  \n",
       "12  0.162389  1.015594 -0.029854  \n",
       "13  0.840157 -2.877844  1.916421  \n",
       "14 -0.781966  0.416652 -0.443097  \n",
       "15  0.450391 -0.089546  0.181111  \n",
       "16 -0.725650  0.363234  1.320035  \n",
       "17 -0.518046  0.382947 -0.209606  \n",
       "18 -0.386091 -0.147755  0.506638  \n",
       "19 -0.506066 -1.076723 -0.154209  \n",
       "20  0.048690  0.103168 -2.191410  \n",
       "21  0.720944  0.037096  0.179688  \n",
       "22 -0.553599 -1.288063  0.307981  \n",
       "23  1.569197 -0.196098 -0.912400  \n",
       "24  0.471655 -0.484871  0.368825  \n",
       "25  0.238063  0.549649  0.514448  \n",
       "26 -0.411348  0.077969  0.960409  \n",
       "27 -0.551599  0.896294  0.465725  \n",
       "28 -0.556353  0.795964  0.776004  \n",
       "29 -0.109493 -0.637450 -2.209238  \n",
       "..       ...       ...       ...  \n",
       "33 -0.106904 -0.298590 -0.070309  \n",
       "34 -0.298597 -0.271536 -0.136436  \n",
       "35 -3.136485 -0.413280  0.504702  \n",
       "36  0.496215  0.580620  0.779916  \n",
       "37 -1.813697  1.262636 -0.778455  \n",
       "38 -1.602957 -0.381262 -1.995444  \n",
       "39 -0.024179 -1.679915  0.812263  \n",
       "40 -1.923042  2.517815  2.513689  \n",
       "41  0.043641 -0.779745 -0.935965  \n",
       "42  0.893069  0.983198  0.838456  \n",
       "43  1.141004 -0.098469  0.414860  \n",
       "44  0.139579 -1.378981 -0.231695  \n",
       "45 -0.096294 -0.627148 -0.704470  \n",
       "46 -1.059286  0.936384  0.476443  \n",
       "47 -0.134532  1.433673  0.743881  \n",
       "48 -0.316182  0.794395  0.490595  \n",
       "49  0.052087  0.336540  0.133399  \n",
       "50  0.133565 -0.857497 -0.336097  \n",
       "51 -2.808962 -0.924942 -0.097665  \n",
       "52  0.284470 -0.374027 -0.232897  \n",
       "53  0.258478  0.125516  0.684770  \n",
       "54  0.361763  0.023046 -2.403376  \n",
       "55 -0.309193 -1.809034  0.017739  \n",
       "56  0.402053  0.989869  1.042865  \n",
       "57  0.076114  0.492343  0.053214  \n",
       "58 -0.822592 -1.968169 -0.234249  \n",
       "59  0.296446  0.091006  0.910169  \n",
       "60 -0.251253 -0.094993  0.439584  \n",
       "61  0.839947 -0.787064 -0.598390  \n",
       "62  0.348542 -1.074970  0.341312  \n",
       "\n",
       "[63 rows x 17 columns]"
      ]
     },
     "execution_count": 94,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.DataFrame(data_fit)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 96,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>...</th>\n",
       "      <th>44</th>\n",
       "      <th>45</th>\n",
       "      <th>46</th>\n",
       "      <th>47</th>\n",
       "      <th>48</th>\n",
       "      <th>49</th>\n",
       "      <th>50</th>\n",
       "      <th>51</th>\n",
       "      <th>52</th>\n",
       "      <th>53</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.076834</td>\n",
       "      <td>-0.010936</td>\n",
       "      <td>-0.021806</td>\n",
       "      <td>-0.026386</td>\n",
       "      <td>0.152693</td>\n",
       "      <td>-0.000752</td>\n",
       "      <td>0.000752</td>\n",
       "      <td>0.125403</td>\n",
       "      <td>0.006185</td>\n",
       "      <td>0.012653</td>\n",
       "      <td>...</td>\n",
       "      <td>61761.369192</td>\n",
       "      <td>76517.811301</td>\n",
       "      <td>-0.124744</td>\n",
       "      <td>1.083812</td>\n",
       "      <td>0.036620</td>\n",
       "      <td>-0.006772</td>\n",
       "      <td>9.491889</td>\n",
       "      <td>58132.573497</td>\n",
       "      <td>1.996289</td>\n",
       "      <td>-0.915449</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>-0.014891</td>\n",
       "      <td>-0.046488</td>\n",
       "      <td>-0.031171</td>\n",
       "      <td>0.012314</td>\n",
       "      <td>-0.015423</td>\n",
       "      <td>-0.123302</td>\n",
       "      <td>0.123302</td>\n",
       "      <td>0.023401</td>\n",
       "      <td>0.013144</td>\n",
       "      <td>0.033999</td>\n",
       "      <td>...</td>\n",
       "      <td>90524.402686</td>\n",
       "      <td>64181.554132</td>\n",
       "      <td>-0.058123</td>\n",
       "      <td>-0.366386</td>\n",
       "      <td>-0.068166</td>\n",
       "      <td>-0.014227</td>\n",
       "      <td>14.681231</td>\n",
       "      <td>90404.506603</td>\n",
       "      <td>-0.323559</td>\n",
       "      <td>0.165764</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>-0.045877</td>\n",
       "      <td>0.009772</td>\n",
       "      <td>-0.020924</td>\n",
       "      <td>0.016904</td>\n",
       "      <td>0.060637</td>\n",
       "      <td>-0.044060</td>\n",
       "      <td>0.044060</td>\n",
       "      <td>-0.002155</td>\n",
       "      <td>0.027410</td>\n",
       "      <td>0.013091</td>\n",
       "      <td>...</td>\n",
       "      <td>2396.170734</td>\n",
       "      <td>-54419.192401</td>\n",
       "      <td>-0.079580</td>\n",
       "      <td>0.689103</td>\n",
       "      <td>0.082800</td>\n",
       "      <td>-0.025540</td>\n",
       "      <td>-8.408008</td>\n",
       "      <td>-73610.709902</td>\n",
       "      <td>0.681821</td>\n",
       "      <td>0.251240</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>-0.029249</td>\n",
       "      <td>0.060145</td>\n",
       "      <td>0.010008</td>\n",
       "      <td>-0.003638</td>\n",
       "      <td>0.010766</td>\n",
       "      <td>0.025404</td>\n",
       "      <td>-0.025404</td>\n",
       "      <td>0.097346</td>\n",
       "      <td>0.003028</td>\n",
       "      <td>0.005126</td>\n",
       "      <td>...</td>\n",
       "      <td>-28803.935774</td>\n",
       "      <td>-1382.958886</td>\n",
       "      <td>0.296876</td>\n",
       "      <td>-0.388483</td>\n",
       "      <td>0.120665</td>\n",
       "      <td>0.018862</td>\n",
       "      <td>-7.370014</td>\n",
       "      <td>-38029.617942</td>\n",
       "      <td>0.750479</td>\n",
       "      <td>-0.467681</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0.091384</td>\n",
       "      <td>-0.053826</td>\n",
       "      <td>0.002144</td>\n",
       "      <td>-0.021098</td>\n",
       "      <td>0.047040</td>\n",
       "      <td>-0.092546</td>\n",
       "      <td>0.092546</td>\n",
       "      <td>0.035464</td>\n",
       "      <td>0.016890</td>\n",
       "      <td>0.026611</td>\n",
       "      <td>...</td>\n",
       "      <td>-21284.374710</td>\n",
       "      <td>7473.245908</td>\n",
       "      <td>-0.300945</td>\n",
       "      <td>0.114862</td>\n",
       "      <td>-0.075174</td>\n",
       "      <td>0.016376</td>\n",
       "      <td>1.164084</td>\n",
       "      <td>2920.611204</td>\n",
       "      <td>0.107897</td>\n",
       "      <td>0.426972</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>-0.028765</td>\n",
       "      <td>-0.081785</td>\n",
       "      <td>-0.004774</td>\n",
       "      <td>-0.041413</td>\n",
       "      <td>-0.100594</td>\n",
       "      <td>-0.029387</td>\n",
       "      <td>0.029387</td>\n",
       "      <td>-0.108605</td>\n",
       "      <td>0.014265</td>\n",
       "      <td>-0.000447</td>\n",
       "      <td>...</td>\n",
       "      <td>-6281.533649</td>\n",
       "      <td>-17885.713879</td>\n",
       "      <td>0.242495</td>\n",
       "      <td>0.373305</td>\n",
       "      <td>-0.133296</td>\n",
       "      <td>-0.062799</td>\n",
       "      <td>3.730860</td>\n",
       "      <td>11367.025256</td>\n",
       "      <td>-0.067885</td>\n",
       "      <td>0.810446</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>-0.021318</td>\n",
       "      <td>0.005433</td>\n",
       "      <td>-0.021106</td>\n",
       "      <td>-0.030273</td>\n",
       "      <td>0.125941</td>\n",
       "      <td>-0.037372</td>\n",
       "      <td>0.037372</td>\n",
       "      <td>-0.134401</td>\n",
       "      <td>-0.038532</td>\n",
       "      <td>0.000160</td>\n",
       "      <td>...</td>\n",
       "      <td>7480.595599</td>\n",
       "      <td>-3230.510854</td>\n",
       "      <td>0.492131</td>\n",
       "      <td>-0.158242</td>\n",
       "      <td>0.153561</td>\n",
       "      <td>-0.011649</td>\n",
       "      <td>-0.195885</td>\n",
       "      <td>-1103.405356</td>\n",
       "      <td>-0.775541</td>\n",
       "      <td>-0.062498</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0.024039</td>\n",
       "      <td>0.002259</td>\n",
       "      <td>-0.024675</td>\n",
       "      <td>0.041182</td>\n",
       "      <td>0.138913</td>\n",
       "      <td>-0.130917</td>\n",
       "      <td>0.130917</td>\n",
       "      <td>0.015318</td>\n",
       "      <td>0.023105</td>\n",
       "      <td>-0.006527</td>\n",
       "      <td>...</td>\n",
       "      <td>-3.538567</td>\n",
       "      <td>-1.930477</td>\n",
       "      <td>0.234027</td>\n",
       "      <td>-0.206614</td>\n",
       "      <td>0.014912</td>\n",
       "      <td>0.005588</td>\n",
       "      <td>1.208016</td>\n",
       "      <td>2.677262</td>\n",
       "      <td>-0.289057</td>\n",
       "      <td>0.876362</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>-0.057656</td>\n",
       "      <td>-0.024643</td>\n",
       "      <td>-0.008860</td>\n",
       "      <td>0.057690</td>\n",
       "      <td>0.032017</td>\n",
       "      <td>-0.065406</td>\n",
       "      <td>0.065406</td>\n",
       "      <td>-0.028744</td>\n",
       "      <td>0.018177</td>\n",
       "      <td>0.033126</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.111754</td>\n",
       "      <td>-1.309840</td>\n",
       "      <td>0.039092</td>\n",
       "      <td>-0.089895</td>\n",
       "      <td>0.009611</td>\n",
       "      <td>0.008384</td>\n",
       "      <td>0.113733</td>\n",
       "      <td>0.543805</td>\n",
       "      <td>-0.158632</td>\n",
       "      <td>0.777922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0.121443</td>\n",
       "      <td>0.085305</td>\n",
       "      <td>-0.015257</td>\n",
       "      <td>-0.004938</td>\n",
       "      <td>0.021201</td>\n",
       "      <td>-0.086638</td>\n",
       "      <td>0.086638</td>\n",
       "      <td>0.031706</td>\n",
       "      <td>-0.017864</td>\n",
       "      <td>0.033712</td>\n",
       "      <td>...</td>\n",
       "      <td>0.050358</td>\n",
       "      <td>0.198905</td>\n",
       "      <td>0.061780</td>\n",
       "      <td>0.174355</td>\n",
       "      <td>-0.113691</td>\n",
       "      <td>-0.025069</td>\n",
       "      <td>1.001205</td>\n",
       "      <td>-0.196281</td>\n",
       "      <td>0.597523</td>\n",
       "      <td>0.179309</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0.046067</td>\n",
       "      <td>0.117485</td>\n",
       "      <td>-0.019197</td>\n",
       "      <td>-0.030121</td>\n",
       "      <td>-0.057129</td>\n",
       "      <td>-0.013541</td>\n",
       "      <td>0.013541</td>\n",
       "      <td>0.018126</td>\n",
       "      <td>-0.006645</td>\n",
       "      <td>-0.007600</td>\n",
       "      <td>...</td>\n",
       "      <td>0.100980</td>\n",
       "      <td>-0.013428</td>\n",
       "      <td>0.153664</td>\n",
       "      <td>-0.122486</td>\n",
       "      <td>-0.046442</td>\n",
       "      <td>-0.026296</td>\n",
       "      <td>-0.230433</td>\n",
       "      <td>-0.021684</td>\n",
       "      <td>-0.679487</td>\n",
       "      <td>0.786820</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>-0.132839</td>\n",
       "      <td>0.084495</td>\n",
       "      <td>-0.007024</td>\n",
       "      <td>-0.025496</td>\n",
       "      <td>-0.081427</td>\n",
       "      <td>0.067368</td>\n",
       "      <td>-0.067368</td>\n",
       "      <td>-0.053969</td>\n",
       "      <td>-0.001011</td>\n",
       "      <td>0.003292</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.011690</td>\n",
       "      <td>-0.011300</td>\n",
       "      <td>0.162066</td>\n",
       "      <td>-0.181427</td>\n",
       "      <td>-0.056764</td>\n",
       "      <td>0.002276</td>\n",
       "      <td>0.128579</td>\n",
       "      <td>0.009712</td>\n",
       "      <td>0.244066</td>\n",
       "      <td>0.103717</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>-0.031374</td>\n",
       "      <td>0.045990</td>\n",
       "      <td>-0.002373</td>\n",
       "      <td>0.002748</td>\n",
       "      <td>0.045641</td>\n",
       "      <td>0.014296</td>\n",
       "      <td>-0.014296</td>\n",
       "      <td>-0.108645</td>\n",
       "      <td>0.025247</td>\n",
       "      <td>0.002982</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.032278</td>\n",
       "      <td>-0.014815</td>\n",
       "      <td>0.079639</td>\n",
       "      <td>0.156658</td>\n",
       "      <td>0.027489</td>\n",
       "      <td>-0.006833</td>\n",
       "      <td>-0.279983</td>\n",
       "      <td>0.020410</td>\n",
       "      <td>-0.003037</td>\n",
       "      <td>0.012618</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>-0.052052</td>\n",
       "      <td>0.099271</td>\n",
       "      <td>0.017578</td>\n",
       "      <td>-0.004088</td>\n",
       "      <td>-0.001483</td>\n",
       "      <td>0.000982</td>\n",
       "      <td>-0.000982</td>\n",
       "      <td>-0.074282</td>\n",
       "      <td>-0.009006</td>\n",
       "      <td>-0.033322</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.002825</td>\n",
       "      <td>-0.001951</td>\n",
       "      <td>-0.140902</td>\n",
       "      <td>-0.563281</td>\n",
       "      <td>0.453899</td>\n",
       "      <td>-0.063550</td>\n",
       "      <td>-4.197615</td>\n",
       "      <td>0.009544</td>\n",
       "      <td>-1.479488</td>\n",
       "      <td>0.190213</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>-0.013541</td>\n",
       "      <td>-0.049161</td>\n",
       "      <td>-0.015391</td>\n",
       "      <td>-0.039949</td>\n",
       "      <td>-0.067703</td>\n",
       "      <td>0.047412</td>\n",
       "      <td>-0.047412</td>\n",
       "      <td>-0.106877</td>\n",
       "      <td>0.002216</td>\n",
       "      <td>0.005076</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.004170</td>\n",
       "      <td>0.004087</td>\n",
       "      <td>-0.325188</td>\n",
       "      <td>0.422880</td>\n",
       "      <td>-0.081348</td>\n",
       "      <td>-0.050778</td>\n",
       "      <td>0.351297</td>\n",
       "      <td>-0.000564</td>\n",
       "      <td>-0.367383</td>\n",
       "      <td>0.751150</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0.081626</td>\n",
       "      <td>0.086429</td>\n",
       "      <td>-0.060767</td>\n",
       "      <td>-0.042663</td>\n",
       "      <td>0.005083</td>\n",
       "      <td>0.021535</td>\n",
       "      <td>-0.021535</td>\n",
       "      <td>0.028490</td>\n",
       "      <td>-0.021889</td>\n",
       "      <td>0.022025</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000895</td>\n",
       "      <td>0.001493</td>\n",
       "      <td>-0.196804</td>\n",
       "      <td>-0.290621</td>\n",
       "      <td>0.013443</td>\n",
       "      <td>-0.012982</td>\n",
       "      <td>3.671734</td>\n",
       "      <td>-0.001419</td>\n",
       "      <td>-0.811490</td>\n",
       "      <td>0.861003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>-0.075178</td>\n",
       "      <td>-0.091828</td>\n",
       "      <td>-0.025325</td>\n",
       "      <td>-0.039587</td>\n",
       "      <td>0.033766</td>\n",
       "      <td>0.042582</td>\n",
       "      <td>-0.042582</td>\n",
       "      <td>0.006356</td>\n",
       "      <td>-0.003678</td>\n",
       "      <td>0.022313</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000110</td>\n",
       "      <td>-0.000606</td>\n",
       "      <td>-0.184466</td>\n",
       "      <td>-0.234789</td>\n",
       "      <td>-0.070280</td>\n",
       "      <td>-0.042825</td>\n",
       "      <td>2.719470</td>\n",
       "      <td>-0.000576</td>\n",
       "      <td>0.394052</td>\n",
       "      <td>0.827333</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>17 rows × 54 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          0         1         2         3         4         5         6   \\\n",
       "0   0.076834 -0.010936 -0.021806 -0.026386  0.152693 -0.000752  0.000752   \n",
       "1  -0.014891 -0.046488 -0.031171  0.012314 -0.015423 -0.123302  0.123302   \n",
       "2  -0.045877  0.009772 -0.020924  0.016904  0.060637 -0.044060  0.044060   \n",
       "3  -0.029249  0.060145  0.010008 -0.003638  0.010766  0.025404 -0.025404   \n",
       "4   0.091384 -0.053826  0.002144 -0.021098  0.047040 -0.092546  0.092546   \n",
       "5  -0.028765 -0.081785 -0.004774 -0.041413 -0.100594 -0.029387  0.029387   \n",
       "6  -0.021318  0.005433 -0.021106 -0.030273  0.125941 -0.037372  0.037372   \n",
       "7   0.024039  0.002259 -0.024675  0.041182  0.138913 -0.130917  0.130917   \n",
       "8  -0.057656 -0.024643 -0.008860  0.057690  0.032017 -0.065406  0.065406   \n",
       "9   0.121443  0.085305 -0.015257 -0.004938  0.021201 -0.086638  0.086638   \n",
       "10  0.046067  0.117485 -0.019197 -0.030121 -0.057129 -0.013541  0.013541   \n",
       "11 -0.132839  0.084495 -0.007024 -0.025496 -0.081427  0.067368 -0.067368   \n",
       "12 -0.031374  0.045990 -0.002373  0.002748  0.045641  0.014296 -0.014296   \n",
       "13 -0.052052  0.099271  0.017578 -0.004088 -0.001483  0.000982 -0.000982   \n",
       "14 -0.013541 -0.049161 -0.015391 -0.039949 -0.067703  0.047412 -0.047412   \n",
       "15  0.081626  0.086429 -0.060767 -0.042663  0.005083  0.021535 -0.021535   \n",
       "16 -0.075178 -0.091828 -0.025325 -0.039587  0.033766  0.042582 -0.042582   \n",
       "\n",
       "          7         8         9     ...               44            45  \\\n",
       "0   0.125403  0.006185  0.012653    ...     61761.369192  76517.811301   \n",
       "1   0.023401  0.013144  0.033999    ...     90524.402686  64181.554132   \n",
       "2  -0.002155  0.027410  0.013091    ...      2396.170734 -54419.192401   \n",
       "3   0.097346  0.003028  0.005126    ...    -28803.935774  -1382.958886   \n",
       "4   0.035464  0.016890  0.026611    ...    -21284.374710   7473.245908   \n",
       "5  -0.108605  0.014265 -0.000447    ...     -6281.533649 -17885.713879   \n",
       "6  -0.134401 -0.038532  0.000160    ...      7480.595599  -3230.510854   \n",
       "7   0.015318  0.023105 -0.006527    ...        -3.538567     -1.930477   \n",
       "8  -0.028744  0.018177  0.033126    ...        -1.111754     -1.309840   \n",
       "9   0.031706 -0.017864  0.033712    ...         0.050358      0.198905   \n",
       "10  0.018126 -0.006645 -0.007600    ...         0.100980     -0.013428   \n",
       "11 -0.053969 -0.001011  0.003292    ...        -0.011690     -0.011300   \n",
       "12 -0.108645  0.025247  0.002982    ...        -0.032278     -0.014815   \n",
       "13 -0.074282 -0.009006 -0.033322    ...        -0.002825     -0.001951   \n",
       "14 -0.106877  0.002216  0.005076    ...        -0.004170      0.004087   \n",
       "15  0.028490 -0.021889  0.022025    ...         0.000895      0.001493   \n",
       "16  0.006356 -0.003678  0.022313    ...         0.000110     -0.000606   \n",
       "\n",
       "          46        47        48        49         50            51        52  \\\n",
       "0  -0.124744  1.083812  0.036620 -0.006772   9.491889  58132.573497  1.996289   \n",
       "1  -0.058123 -0.366386 -0.068166 -0.014227  14.681231  90404.506603 -0.323559   \n",
       "2  -0.079580  0.689103  0.082800 -0.025540  -8.408008 -73610.709902  0.681821   \n",
       "3   0.296876 -0.388483  0.120665  0.018862  -7.370014 -38029.617942  0.750479   \n",
       "4  -0.300945  0.114862 -0.075174  0.016376   1.164084   2920.611204  0.107897   \n",
       "5   0.242495  0.373305 -0.133296 -0.062799   3.730860  11367.025256 -0.067885   \n",
       "6   0.492131 -0.158242  0.153561 -0.011649  -0.195885  -1103.405356 -0.775541   \n",
       "7   0.234027 -0.206614  0.014912  0.005588   1.208016      2.677262 -0.289057   \n",
       "8   0.039092 -0.089895  0.009611  0.008384   0.113733      0.543805 -0.158632   \n",
       "9   0.061780  0.174355 -0.113691 -0.025069   1.001205     -0.196281  0.597523   \n",
       "10  0.153664 -0.122486 -0.046442 -0.026296  -0.230433     -0.021684 -0.679487   \n",
       "11  0.162066 -0.181427 -0.056764  0.002276   0.128579      0.009712  0.244066   \n",
       "12  0.079639  0.156658  0.027489 -0.006833  -0.279983      0.020410 -0.003037   \n",
       "13 -0.140902 -0.563281  0.453899 -0.063550  -4.197615      0.009544 -1.479488   \n",
       "14 -0.325188  0.422880 -0.081348 -0.050778   0.351297     -0.000564 -0.367383   \n",
       "15 -0.196804 -0.290621  0.013443 -0.012982   3.671734     -0.001419 -0.811490   \n",
       "16 -0.184466 -0.234789 -0.070280 -0.042825   2.719470     -0.000576  0.394052   \n",
       "\n",
       "          53  \n",
       "0  -0.915449  \n",
       "1   0.165764  \n",
       "2   0.251240  \n",
       "3  -0.467681  \n",
       "4   0.426972  \n",
       "5   0.810446  \n",
       "6  -0.062498  \n",
       "7   0.876362  \n",
       "8   0.777922  \n",
       "9   0.179309  \n",
       "10  0.786820  \n",
       "11  0.103717  \n",
       "12  0.012618  \n",
       "13  0.190213  \n",
       "14  0.751150  \n",
       "15  0.861003  \n",
       "16  0.827333  \n",
       "\n",
       "[17 rows x 54 columns]"
      ]
     },
     "execution_count": 96,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "com = fa.components_\n",
    "pd.DataFrame(com).to_csv('./data/fa_component_samples.csv')\n",
    "pd.DataFrame(com)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### PCA降维分析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "((1391, 63),\n",
       "                   订单总数   合作时间（月）  最近交易（X月之前）  最近连续交易月数  采购断档总月数  订单时间间隔均值（天）  \\\n",
       " 应收单号                                                                           \n",
       " YS2016080317738  0.125  0.285714    0.090909  0.285714      0.0     0.047373   \n",
       " \n",
       "                  订单时间间隔方差（天）      交易总量    交易量最大值    交易量最小值  ...         净资产  \\\n",
       " 应收单号                                                        ...               \n",
       " YS2016080317738      0.07662  0.060999  0.119701  0.176627  ...    0.042011   \n",
       " \n",
       "                      货币资金    存货周转天数  应收账款周转天数   主营业务利润率    净资产增长率     销售增长率  \\\n",
       " 应收单号                                                                          \n",
       " YS2016080317738  0.028881  0.016477  0.146758  0.241379  0.006938  0.034799   \n",
       " \n",
       "                  当地经济环境  撮合单数  label  \n",
       " 应收单号                                  \n",
       " YS2016080317738   0.875   0.0      0  \n",
       " \n",
       " [1 rows x 63 columns])"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# data = pd.read_csv('./data/samples_all_fillna.csv',index_col=0)\n",
    "data = pd.read_csv('./data/samples_all_fillna_nor.csv',index_col=0)\n",
    "data.shape,data.head(1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>14</th>\n",
       "      <th>15</th>\n",
       "      <th>16</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.591510</td>\n",
       "      <td>-0.991381</td>\n",
       "      <td>-0.179879</td>\n",
       "      <td>-0.109731</td>\n",
       "      <td>-0.100997</td>\n",
       "      <td>-0.309338</td>\n",
       "      <td>-0.639858</td>\n",
       "      <td>0.177327</td>\n",
       "      <td>0.166684</td>\n",
       "      <td>-0.024806</td>\n",
       "      <td>-0.391434</td>\n",
       "      <td>0.234738</td>\n",
       "      <td>-0.260365</td>\n",
       "      <td>0.091879</td>\n",
       "      <td>0.704767</td>\n",
       "      <td>0.476707</td>\n",
       "      <td>-0.050315</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0.592579</td>\n",
       "      <td>-0.989469</td>\n",
       "      <td>-0.180751</td>\n",
       "      <td>-0.099472</td>\n",
       "      <td>-0.096084</td>\n",
       "      <td>-0.313262</td>\n",
       "      <td>-0.674657</td>\n",
       "      <td>0.143671</td>\n",
       "      <td>0.129902</td>\n",
       "      <td>-0.016644</td>\n",
       "      <td>-0.401943</td>\n",
       "      <td>0.235614</td>\n",
       "      <td>-0.263502</td>\n",
       "      <td>0.073772</td>\n",
       "      <td>0.688663</td>\n",
       "      <td>0.455407</td>\n",
       "      <td>-0.066478</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0.595150</td>\n",
       "      <td>-0.988691</td>\n",
       "      <td>-0.182382</td>\n",
       "      <td>-0.087295</td>\n",
       "      <td>-0.088230</td>\n",
       "      <td>-0.316887</td>\n",
       "      <td>-0.731374</td>\n",
       "      <td>0.085260</td>\n",
       "      <td>0.089858</td>\n",
       "      <td>-0.010944</td>\n",
       "      <td>-0.407942</td>\n",
       "      <td>0.231214</td>\n",
       "      <td>-0.253110</td>\n",
       "      <td>0.080561</td>\n",
       "      <td>0.673403</td>\n",
       "      <td>0.439883</td>\n",
       "      <td>-0.076114</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0.604024</td>\n",
       "      <td>-1.004640</td>\n",
       "      <td>-0.202076</td>\n",
       "      <td>-0.093905</td>\n",
       "      <td>-0.059060</td>\n",
       "      <td>-0.238011</td>\n",
       "      <td>-0.746848</td>\n",
       "      <td>-0.033747</td>\n",
       "      <td>0.116932</td>\n",
       "      <td>0.069330</td>\n",
       "      <td>-0.409018</td>\n",
       "      <td>0.231907</td>\n",
       "      <td>-0.300337</td>\n",
       "      <td>0.043364</td>\n",
       "      <td>0.679244</td>\n",
       "      <td>0.445577</td>\n",
       "      <td>-0.046764</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0.706463</td>\n",
       "      <td>0.272605</td>\n",
       "      <td>0.999265</td>\n",
       "      <td>0.825454</td>\n",
       "      <td>0.548298</td>\n",
       "      <td>-0.015589</td>\n",
       "      <td>-0.743391</td>\n",
       "      <td>0.400789</td>\n",
       "      <td>0.590594</td>\n",
       "      <td>0.223385</td>\n",
       "      <td>-0.490253</td>\n",
       "      <td>0.259597</td>\n",
       "      <td>0.114868</td>\n",
       "      <td>0.012208</td>\n",
       "      <td>0.217073</td>\n",
       "      <td>0.163405</td>\n",
       "      <td>0.124697</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         0         1         2         3         4         5         6   \\\n",
       "0  0.591510 -0.991381 -0.179879 -0.109731 -0.100997 -0.309338 -0.639858   \n",
       "1  0.592579 -0.989469 -0.180751 -0.099472 -0.096084 -0.313262 -0.674657   \n",
       "2  0.595150 -0.988691 -0.182382 -0.087295 -0.088230 -0.316887 -0.731374   \n",
       "3  0.604024 -1.004640 -0.202076 -0.093905 -0.059060 -0.238011 -0.746848   \n",
       "4  0.706463  0.272605  0.999265  0.825454  0.548298 -0.015589 -0.743391   \n",
       "\n",
       "         7         8         9         10        11        12        13  \\\n",
       "0  0.177327  0.166684 -0.024806 -0.391434  0.234738 -0.260365  0.091879   \n",
       "1  0.143671  0.129902 -0.016644 -0.401943  0.235614 -0.263502  0.073772   \n",
       "2  0.085260  0.089858 -0.010944 -0.407942  0.231214 -0.253110  0.080561   \n",
       "3 -0.033747  0.116932  0.069330 -0.409018  0.231907 -0.300337  0.043364   \n",
       "4  0.400789  0.590594  0.223385 -0.490253  0.259597  0.114868  0.012208   \n",
       "\n",
       "         14        15        16  \n",
       "0  0.704767  0.476707 -0.050315  \n",
       "1  0.688663  0.455407 -0.066478  \n",
       "2  0.673403  0.439883 -0.076114  \n",
       "3  0.679244  0.445577 -0.046764  \n",
       "4  0.217073  0.163405  0.124697  "
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# data = data.fillna(0)\n",
    "pca = PCA(n_components=17)\n",
    "data_pca = pca.fit_transform(data.iloc[:,:-1])\n",
    "pd.DataFrame(data_pca).head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>14</th>\n",
       "      <th>15</th>\n",
       "      <th>16</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收单号</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>YS2016080317738</th>\n",
       "      <td>0.591510</td>\n",
       "      <td>-0.991381</td>\n",
       "      <td>-0.179879</td>\n",
       "      <td>-0.109731</td>\n",
       "      <td>-0.100997</td>\n",
       "      <td>-0.309338</td>\n",
       "      <td>-0.639858</td>\n",
       "      <td>0.177327</td>\n",
       "      <td>0.166684</td>\n",
       "      <td>-0.024806</td>\n",
       "      <td>-0.391434</td>\n",
       "      <td>0.234738</td>\n",
       "      <td>-0.260365</td>\n",
       "      <td>0.091879</td>\n",
       "      <td>0.704767</td>\n",
       "      <td>0.476707</td>\n",
       "      <td>-0.050315</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016071915487</th>\n",
       "      <td>0.592579</td>\n",
       "      <td>-0.989469</td>\n",
       "      <td>-0.180751</td>\n",
       "      <td>-0.099472</td>\n",
       "      <td>-0.096084</td>\n",
       "      <td>-0.313262</td>\n",
       "      <td>-0.674657</td>\n",
       "      <td>0.143671</td>\n",
       "      <td>0.129902</td>\n",
       "      <td>-0.016644</td>\n",
       "      <td>-0.401943</td>\n",
       "      <td>0.235614</td>\n",
       "      <td>-0.263502</td>\n",
       "      <td>0.073772</td>\n",
       "      <td>0.688663</td>\n",
       "      <td>0.455407</td>\n",
       "      <td>-0.066478</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016070113517</th>\n",
       "      <td>0.595150</td>\n",
       "      <td>-0.988691</td>\n",
       "      <td>-0.182382</td>\n",
       "      <td>-0.087295</td>\n",
       "      <td>-0.088230</td>\n",
       "      <td>-0.316887</td>\n",
       "      <td>-0.731374</td>\n",
       "      <td>0.085260</td>\n",
       "      <td>0.089858</td>\n",
       "      <td>-0.010944</td>\n",
       "      <td>-0.407942</td>\n",
       "      <td>0.231214</td>\n",
       "      <td>-0.253110</td>\n",
       "      <td>0.080561</td>\n",
       "      <td>0.673403</td>\n",
       "      <td>0.439883</td>\n",
       "      <td>-0.076114</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016050505611</th>\n",
       "      <td>0.604024</td>\n",
       "      <td>-1.004640</td>\n",
       "      <td>-0.202076</td>\n",
       "      <td>-0.093905</td>\n",
       "      <td>-0.059060</td>\n",
       "      <td>-0.238011</td>\n",
       "      <td>-0.746848</td>\n",
       "      <td>-0.033747</td>\n",
       "      <td>0.116932</td>\n",
       "      <td>0.069330</td>\n",
       "      <td>-0.409018</td>\n",
       "      <td>0.231907</td>\n",
       "      <td>-0.300337</td>\n",
       "      <td>0.043364</td>\n",
       "      <td>0.679244</td>\n",
       "      <td>0.445577</td>\n",
       "      <td>-0.046764</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20160913107905</th>\n",
       "      <td>0.706463</td>\n",
       "      <td>0.272605</td>\n",
       "      <td>0.999265</td>\n",
       "      <td>0.825454</td>\n",
       "      <td>0.548298</td>\n",
       "      <td>-0.015589</td>\n",
       "      <td>-0.743391</td>\n",
       "      <td>0.400789</td>\n",
       "      <td>0.590594</td>\n",
       "      <td>0.223385</td>\n",
       "      <td>-0.490253</td>\n",
       "      <td>0.259597</td>\n",
       "      <td>0.114868</td>\n",
       "      <td>0.012208</td>\n",
       "      <td>0.217073</td>\n",
       "      <td>0.163405</td>\n",
       "      <td>0.124697</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20160911107730</th>\n",
       "      <td>0.704892</td>\n",
       "      <td>0.269742</td>\n",
       "      <td>0.990814</td>\n",
       "      <td>0.821396</td>\n",
       "      <td>0.555468</td>\n",
       "      <td>0.002806</td>\n",
       "      <td>-0.730854</td>\n",
       "      <td>0.379226</td>\n",
       "      <td>0.612134</td>\n",
       "      <td>0.238465</td>\n",
       "      <td>-0.481426</td>\n",
       "      <td>0.252201</td>\n",
       "      <td>0.106916</td>\n",
       "      <td>0.005012</td>\n",
       "      <td>0.217646</td>\n",
       "      <td>0.175288</td>\n",
       "      <td>0.126762</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016072516482</th>\n",
       "      <td>0.700558</td>\n",
       "      <td>0.275763</td>\n",
       "      <td>0.999820</td>\n",
       "      <td>0.846331</td>\n",
       "      <td>0.551757</td>\n",
       "      <td>-0.035107</td>\n",
       "      <td>-0.839709</td>\n",
       "      <td>0.443148</td>\n",
       "      <td>0.449468</td>\n",
       "      <td>0.163465</td>\n",
       "      <td>-0.493937</td>\n",
       "      <td>0.243401</td>\n",
       "      <td>-0.026740</td>\n",
       "      <td>-0.013894</td>\n",
       "      <td>0.188703</td>\n",
       "      <td>0.111146</td>\n",
       "      <td>0.050406</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016072516481</th>\n",
       "      <td>0.700558</td>\n",
       "      <td>0.275763</td>\n",
       "      <td>0.999820</td>\n",
       "      <td>0.846331</td>\n",
       "      <td>0.551757</td>\n",
       "      <td>-0.035107</td>\n",
       "      <td>-0.839709</td>\n",
       "      <td>0.443148</td>\n",
       "      <td>0.449468</td>\n",
       "      <td>0.163465</td>\n",
       "      <td>-0.493937</td>\n",
       "      <td>0.243401</td>\n",
       "      <td>-0.026740</td>\n",
       "      <td>-0.013894</td>\n",
       "      <td>0.188703</td>\n",
       "      <td>0.111146</td>\n",
       "      <td>0.050406</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016070714094</th>\n",
       "      <td>0.700019</td>\n",
       "      <td>0.270546</td>\n",
       "      <td>1.003891</td>\n",
       "      <td>0.868475</td>\n",
       "      <td>0.551927</td>\n",
       "      <td>-0.046620</td>\n",
       "      <td>-0.878524</td>\n",
       "      <td>0.430242</td>\n",
       "      <td>0.394419</td>\n",
       "      <td>0.166823</td>\n",
       "      <td>-0.513409</td>\n",
       "      <td>0.245028</td>\n",
       "      <td>-0.013524</td>\n",
       "      <td>-0.039468</td>\n",
       "      <td>0.161711</td>\n",
       "      <td>0.089966</td>\n",
       "      <td>0.034651</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016062913080</th>\n",
       "      <td>0.691300</td>\n",
       "      <td>0.278839</td>\n",
       "      <td>1.027521</td>\n",
       "      <td>0.892986</td>\n",
       "      <td>0.527782</td>\n",
       "      <td>-0.106797</td>\n",
       "      <td>-0.905240</td>\n",
       "      <td>0.487816</td>\n",
       "      <td>0.308233</td>\n",
       "      <td>0.129846</td>\n",
       "      <td>-0.540118</td>\n",
       "      <td>0.259903</td>\n",
       "      <td>-0.010740</td>\n",
       "      <td>-0.050945</td>\n",
       "      <td>0.132078</td>\n",
       "      <td>0.065640</td>\n",
       "      <td>-0.000305</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016062412633</th>\n",
       "      <td>0.676117</td>\n",
       "      <td>0.293275</td>\n",
       "      <td>1.052695</td>\n",
       "      <td>0.925690</td>\n",
       "      <td>0.496268</td>\n",
       "      <td>-0.203859</td>\n",
       "      <td>-0.933621</td>\n",
       "      <td>0.587035</td>\n",
       "      <td>0.205989</td>\n",
       "      <td>0.057489</td>\n",
       "      <td>-0.564781</td>\n",
       "      <td>0.268875</td>\n",
       "      <td>0.029272</td>\n",
       "      <td>-0.045830</td>\n",
       "      <td>0.088985</td>\n",
       "      <td>0.038199</td>\n",
       "      <td>-0.063642</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016062312293</th>\n",
       "      <td>0.682005</td>\n",
       "      <td>0.290798</td>\n",
       "      <td>1.054481</td>\n",
       "      <td>0.922334</td>\n",
       "      <td>0.498167</td>\n",
       "      <td>-0.191479</td>\n",
       "      <td>-0.935687</td>\n",
       "      <td>0.576826</td>\n",
       "      <td>0.217015</td>\n",
       "      <td>0.062205</td>\n",
       "      <td>-0.563636</td>\n",
       "      <td>0.273482</td>\n",
       "      <td>0.019881</td>\n",
       "      <td>-0.042656</td>\n",
       "      <td>0.105805</td>\n",
       "      <td>0.036758</td>\n",
       "      <td>-0.050772</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016061310460</th>\n",
       "      <td>0.680234</td>\n",
       "      <td>0.269137</td>\n",
       "      <td>1.059185</td>\n",
       "      <td>0.936264</td>\n",
       "      <td>0.501550</td>\n",
       "      <td>-0.159896</td>\n",
       "      <td>-0.916805</td>\n",
       "      <td>0.534117</td>\n",
       "      <td>0.209705</td>\n",
       "      <td>0.138806</td>\n",
       "      <td>-0.601806</td>\n",
       "      <td>0.293817</td>\n",
       "      <td>0.025468</td>\n",
       "      <td>-0.092552</td>\n",
       "      <td>0.070696</td>\n",
       "      <td>0.065150</td>\n",
       "      <td>-0.045909</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016052007711</th>\n",
       "      <td>0.675958</td>\n",
       "      <td>0.287879</td>\n",
       "      <td>1.095656</td>\n",
       "      <td>0.972693</td>\n",
       "      <td>0.464628</td>\n",
       "      <td>-0.268963</td>\n",
       "      <td>-0.966534</td>\n",
       "      <td>0.590948</td>\n",
       "      <td>0.079998</td>\n",
       "      <td>0.108489</td>\n",
       "      <td>-0.675222</td>\n",
       "      <td>0.308965</td>\n",
       "      <td>0.117193</td>\n",
       "      <td>-0.119396</td>\n",
       "      <td>-0.001414</td>\n",
       "      <td>0.001107</td>\n",
       "      <td>-0.102746</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016051106276</th>\n",
       "      <td>0.650485</td>\n",
       "      <td>0.298508</td>\n",
       "      <td>1.093719</td>\n",
       "      <td>0.997015</td>\n",
       "      <td>0.448693</td>\n",
       "      <td>-0.326498</td>\n",
       "      <td>-0.950693</td>\n",
       "      <td>0.638558</td>\n",
       "      <td>0.042239</td>\n",
       "      <td>0.067256</td>\n",
       "      <td>-0.671227</td>\n",
       "      <td>0.279762</td>\n",
       "      <td>0.153322</td>\n",
       "      <td>-0.140480</td>\n",
       "      <td>-0.051226</td>\n",
       "      <td>0.003543</td>\n",
       "      <td>-0.171802</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170314153009</th>\n",
       "      <td>0.044865</td>\n",
       "      <td>0.344828</td>\n",
       "      <td>-0.728377</td>\n",
       "      <td>0.645002</td>\n",
       "      <td>-0.158630</td>\n",
       "      <td>0.496669</td>\n",
       "      <td>-0.118657</td>\n",
       "      <td>0.396118</td>\n",
       "      <td>-0.405576</td>\n",
       "      <td>-0.015316</td>\n",
       "      <td>-0.239439</td>\n",
       "      <td>-0.456705</td>\n",
       "      <td>-0.002707</td>\n",
       "      <td>0.207882</td>\n",
       "      <td>-0.223280</td>\n",
       "      <td>-0.037677</td>\n",
       "      <td>0.267482</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170228152326</th>\n",
       "      <td>0.040097</td>\n",
       "      <td>0.363060</td>\n",
       "      <td>-0.702126</td>\n",
       "      <td>0.680674</td>\n",
       "      <td>-0.181630</td>\n",
       "      <td>0.436058</td>\n",
       "      <td>-0.171813</td>\n",
       "      <td>0.417859</td>\n",
       "      <td>-0.501764</td>\n",
       "      <td>-0.088294</td>\n",
       "      <td>-0.322974</td>\n",
       "      <td>-0.446873</td>\n",
       "      <td>0.021724</td>\n",
       "      <td>0.142437</td>\n",
       "      <td>-0.252715</td>\n",
       "      <td>0.016273</td>\n",
       "      <td>0.057855</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170112150913</th>\n",
       "      <td>0.024523</td>\n",
       "      <td>0.377543</td>\n",
       "      <td>-0.668651</td>\n",
       "      <td>0.732790</td>\n",
       "      <td>-0.214644</td>\n",
       "      <td>0.324503</td>\n",
       "      <td>-0.247695</td>\n",
       "      <td>0.511522</td>\n",
       "      <td>-0.682130</td>\n",
       "      <td>-0.166938</td>\n",
       "      <td>-0.362044</td>\n",
       "      <td>-0.430581</td>\n",
       "      <td>0.014760</td>\n",
       "      <td>0.116050</td>\n",
       "      <td>-0.320685</td>\n",
       "      <td>-0.036693</td>\n",
       "      <td>-0.031076</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170104150388</th>\n",
       "      <td>0.029721</td>\n",
       "      <td>0.355426</td>\n",
       "      <td>-0.671955</td>\n",
       "      <td>0.735312</td>\n",
       "      <td>-0.199268</td>\n",
       "      <td>0.374041</td>\n",
       "      <td>-0.247352</td>\n",
       "      <td>0.435489</td>\n",
       "      <td>-0.654857</td>\n",
       "      <td>-0.105879</td>\n",
       "      <td>-0.366906</td>\n",
       "      <td>-0.424655</td>\n",
       "      <td>0.015965</td>\n",
       "      <td>0.119484</td>\n",
       "      <td>-0.322557</td>\n",
       "      <td>0.006568</td>\n",
       "      <td>-0.004968</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161221149603</th>\n",
       "      <td>0.014048</td>\n",
       "      <td>0.384593</td>\n",
       "      <td>-0.633587</td>\n",
       "      <td>0.783389</td>\n",
       "      <td>-0.251629</td>\n",
       "      <td>0.217703</td>\n",
       "      <td>-0.315705</td>\n",
       "      <td>0.565950</td>\n",
       "      <td>-0.835326</td>\n",
       "      <td>-0.196749</td>\n",
       "      <td>-0.433172</td>\n",
       "      <td>-0.431757</td>\n",
       "      <td>0.104259</td>\n",
       "      <td>0.093546</td>\n",
       "      <td>-0.414741</td>\n",
       "      <td>-0.082354</td>\n",
       "      <td>-0.086934</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161205148426</th>\n",
       "      <td>0.071334</td>\n",
       "      <td>0.279892</td>\n",
       "      <td>-0.738460</td>\n",
       "      <td>0.677932</td>\n",
       "      <td>-0.069281</td>\n",
       "      <td>0.721758</td>\n",
       "      <td>-0.204531</td>\n",
       "      <td>0.009981</td>\n",
       "      <td>-0.486975</td>\n",
       "      <td>0.239398</td>\n",
       "      <td>-0.333196</td>\n",
       "      <td>-0.372504</td>\n",
       "      <td>-0.293665</td>\n",
       "      <td>-0.020846</td>\n",
       "      <td>-0.285813</td>\n",
       "      <td>0.142809</td>\n",
       "      <td>0.094443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161205148425</th>\n",
       "      <td>0.071334</td>\n",
       "      <td>0.279892</td>\n",
       "      <td>-0.738460</td>\n",
       "      <td>0.677932</td>\n",
       "      <td>-0.069281</td>\n",
       "      <td>0.721758</td>\n",
       "      <td>-0.204531</td>\n",
       "      <td>0.009981</td>\n",
       "      <td>-0.486975</td>\n",
       "      <td>0.239398</td>\n",
       "      <td>-0.333196</td>\n",
       "      <td>-0.372504</td>\n",
       "      <td>-0.293665</td>\n",
       "      <td>-0.020846</td>\n",
       "      <td>-0.285813</td>\n",
       "      <td>0.142809</td>\n",
       "      <td>0.094443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170109150628</th>\n",
       "      <td>-0.039969</td>\n",
       "      <td>-1.307232</td>\n",
       "      <td>-0.168746</td>\n",
       "      <td>-0.172301</td>\n",
       "      <td>0.434734</td>\n",
       "      <td>-0.393436</td>\n",
       "      <td>0.104443</td>\n",
       "      <td>0.181979</td>\n",
       "      <td>-0.375408</td>\n",
       "      <td>0.061617</td>\n",
       "      <td>-0.095867</td>\n",
       "      <td>-0.089290</td>\n",
       "      <td>0.157749</td>\n",
       "      <td>-0.199631</td>\n",
       "      <td>0.001126</td>\n",
       "      <td>-0.114816</td>\n",
       "      <td>-0.086030</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161109146812</th>\n",
       "      <td>-0.028231</td>\n",
       "      <td>-1.328044</td>\n",
       "      <td>-0.196892</td>\n",
       "      <td>-0.153115</td>\n",
       "      <td>0.493184</td>\n",
       "      <td>-0.301235</td>\n",
       "      <td>0.012688</td>\n",
       "      <td>-0.083385</td>\n",
       "      <td>-0.342906</td>\n",
       "      <td>0.135075</td>\n",
       "      <td>-0.058117</td>\n",
       "      <td>-0.071029</td>\n",
       "      <td>0.191068</td>\n",
       "      <td>-0.172738</td>\n",
       "      <td>0.046756</td>\n",
       "      <td>-0.095048</td>\n",
       "      <td>-0.072038</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161103146353</th>\n",
       "      <td>-0.052789</td>\n",
       "      <td>-1.333385</td>\n",
       "      <td>-0.146475</td>\n",
       "      <td>-0.064037</td>\n",
       "      <td>0.447181</td>\n",
       "      <td>-0.443710</td>\n",
       "      <td>-0.061409</td>\n",
       "      <td>0.060157</td>\n",
       "      <td>-0.547420</td>\n",
       "      <td>0.020789</td>\n",
       "      <td>-0.111378</td>\n",
       "      <td>-0.042995</td>\n",
       "      <td>0.257734</td>\n",
       "      <td>-0.177153</td>\n",
       "      <td>-0.032706</td>\n",
       "      <td>-0.106534</td>\n",
       "      <td>-0.175916</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161102146292</th>\n",
       "      <td>-0.079668</td>\n",
       "      <td>-1.282514</td>\n",
       "      <td>-0.092100</td>\n",
       "      <td>-0.007871</td>\n",
       "      <td>0.359092</td>\n",
       "      <td>-0.691503</td>\n",
       "      <td>-0.127309</td>\n",
       "      <td>0.316380</td>\n",
       "      <td>-0.747139</td>\n",
       "      <td>-0.173000</td>\n",
       "      <td>-0.175932</td>\n",
       "      <td>-0.067406</td>\n",
       "      <td>0.436717</td>\n",
       "      <td>-0.147120</td>\n",
       "      <td>-0.118821</td>\n",
       "      <td>-0.224632</td>\n",
       "      <td>-0.275131</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161020110526</th>\n",
       "      <td>-0.005507</td>\n",
       "      <td>-1.435927</td>\n",
       "      <td>-0.242941</td>\n",
       "      <td>-0.107194</td>\n",
       "      <td>0.588669</td>\n",
       "      <td>-0.036757</td>\n",
       "      <td>-0.178873</td>\n",
       "      <td>-0.279199</td>\n",
       "      <td>-0.519772</td>\n",
       "      <td>0.239430</td>\n",
       "      <td>-0.148574</td>\n",
       "      <td>-0.093380</td>\n",
       "      <td>-0.329575</td>\n",
       "      <td>-0.374393</td>\n",
       "      <td>-0.034842</td>\n",
       "      <td>0.074606</td>\n",
       "      <td>-0.186179</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170510155341</th>\n",
       "      <td>-0.080948</td>\n",
       "      <td>-0.678850</td>\n",
       "      <td>0.901179</td>\n",
       "      <td>-0.185027</td>\n",
       "      <td>0.361594</td>\n",
       "      <td>0.633919</td>\n",
       "      <td>0.601677</td>\n",
       "      <td>-0.580088</td>\n",
       "      <td>0.060742</td>\n",
       "      <td>-0.327088</td>\n",
       "      <td>-0.058853</td>\n",
       "      <td>0.039225</td>\n",
       "      <td>-0.095765</td>\n",
       "      <td>-0.104242</td>\n",
       "      <td>-0.135625</td>\n",
       "      <td>-0.162900</td>\n",
       "      <td>0.484431</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170503155084</th>\n",
       "      <td>-0.078734</td>\n",
       "      <td>-0.685506</td>\n",
       "      <td>0.901558</td>\n",
       "      <td>-0.158958</td>\n",
       "      <td>0.372896</td>\n",
       "      <td>0.628375</td>\n",
       "      <td>0.546475</td>\n",
       "      <td>-0.659607</td>\n",
       "      <td>0.007800</td>\n",
       "      <td>-0.308974</td>\n",
       "      <td>-0.074975</td>\n",
       "      <td>0.056542</td>\n",
       "      <td>-0.079193</td>\n",
       "      <td>-0.093453</td>\n",
       "      <td>-0.161679</td>\n",
       "      <td>-0.178645</td>\n",
       "      <td>0.459741</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170407154030</th>\n",
       "      <td>-0.082835</td>\n",
       "      <td>-0.730400</td>\n",
       "      <td>0.888936</td>\n",
       "      <td>-0.112404</td>\n",
       "      <td>0.395510</td>\n",
       "      <td>0.654078</td>\n",
       "      <td>0.525307</td>\n",
       "      <td>-0.630636</td>\n",
       "      <td>-0.029590</td>\n",
       "      <td>-0.339249</td>\n",
       "      <td>-0.076568</td>\n",
       "      <td>0.047868</td>\n",
       "      <td>-0.077480</td>\n",
       "      <td>-0.130964</td>\n",
       "      <td>-0.187429</td>\n",
       "      <td>-0.140131</td>\n",
       "      <td>0.469865</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161017110143</th>\n",
       "      <td>0.404086</td>\n",
       "      <td>-0.668542</td>\n",
       "      <td>-0.609071</td>\n",
       "      <td>0.572706</td>\n",
       "      <td>-0.811935</td>\n",
       "      <td>0.481675</td>\n",
       "      <td>0.004061</td>\n",
       "      <td>-0.447396</td>\n",
       "      <td>-0.433683</td>\n",
       "      <td>-0.290055</td>\n",
       "      <td>0.353226</td>\n",
       "      <td>0.577436</td>\n",
       "      <td>0.027927</td>\n",
       "      <td>0.007063</td>\n",
       "      <td>0.160230</td>\n",
       "      <td>0.036311</td>\n",
       "      <td>0.017167</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016072516403</th>\n",
       "      <td>0.409129</td>\n",
       "      <td>-0.621138</td>\n",
       "      <td>-0.614321</td>\n",
       "      <td>0.531312</td>\n",
       "      <td>-0.815258</td>\n",
       "      <td>0.492382</td>\n",
       "      <td>-0.109172</td>\n",
       "      <td>-0.498726</td>\n",
       "      <td>-0.522928</td>\n",
       "      <td>-0.291090</td>\n",
       "      <td>0.359054</td>\n",
       "      <td>0.570214</td>\n",
       "      <td>-0.213891</td>\n",
       "      <td>0.010445</td>\n",
       "      <td>0.180571</td>\n",
       "      <td>-0.079548</td>\n",
       "      <td>-0.038152</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170620156915</th>\n",
       "      <td>-0.121750</td>\n",
       "      <td>-1.007050</td>\n",
       "      <td>0.570257</td>\n",
       "      <td>-0.129290</td>\n",
       "      <td>0.368835</td>\n",
       "      <td>-0.661138</td>\n",
       "      <td>0.328320</td>\n",
       "      <td>0.541646</td>\n",
       "      <td>-0.320005</td>\n",
       "      <td>-0.174073</td>\n",
       "      <td>0.080406</td>\n",
       "      <td>-0.167856</td>\n",
       "      <td>-0.011781</td>\n",
       "      <td>-0.119490</td>\n",
       "      <td>-0.050934</td>\n",
       "      <td>-0.549365</td>\n",
       "      <td>0.447996</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170522155869</th>\n",
       "      <td>-0.121656</td>\n",
       "      <td>-1.014841</td>\n",
       "      <td>0.567248</td>\n",
       "      <td>-0.108681</td>\n",
       "      <td>0.380948</td>\n",
       "      <td>-0.655471</td>\n",
       "      <td>0.276440</td>\n",
       "      <td>0.477851</td>\n",
       "      <td>-0.365410</td>\n",
       "      <td>-0.157063</td>\n",
       "      <td>0.074406</td>\n",
       "      <td>-0.164958</td>\n",
       "      <td>-0.005102</td>\n",
       "      <td>-0.126725</td>\n",
       "      <td>-0.074834</td>\n",
       "      <td>-0.550771</td>\n",
       "      <td>0.431340</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170502155027</th>\n",
       "      <td>-0.115257</td>\n",
       "      <td>-1.023314</td>\n",
       "      <td>0.562003</td>\n",
       "      <td>-0.098924</td>\n",
       "      <td>0.399972</td>\n",
       "      <td>-0.627500</td>\n",
       "      <td>0.221341</td>\n",
       "      <td>0.394237</td>\n",
       "      <td>-0.399345</td>\n",
       "      <td>-0.128951</td>\n",
       "      <td>0.077595</td>\n",
       "      <td>-0.158455</td>\n",
       "      <td>-0.035902</td>\n",
       "      <td>-0.133279</td>\n",
       "      <td>-0.082158</td>\n",
       "      <td>-0.552706</td>\n",
       "      <td>0.434794</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170424154734</th>\n",
       "      <td>-0.109936</td>\n",
       "      <td>-1.028181</td>\n",
       "      <td>0.558869</td>\n",
       "      <td>-0.105659</td>\n",
       "      <td>0.407755</td>\n",
       "      <td>-0.603164</td>\n",
       "      <td>0.223806</td>\n",
       "      <td>0.370693</td>\n",
       "      <td>-0.380417</td>\n",
       "      <td>-0.111123</td>\n",
       "      <td>0.081690</td>\n",
       "      <td>-0.153139</td>\n",
       "      <td>-0.053012</td>\n",
       "      <td>-0.132644</td>\n",
       "      <td>-0.068632</td>\n",
       "      <td>-0.545316</td>\n",
       "      <td>0.450459</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170222151991</th>\n",
       "      <td>-0.099584</td>\n",
       "      <td>-1.058789</td>\n",
       "      <td>0.551428</td>\n",
       "      <td>-0.070863</td>\n",
       "      <td>0.445454</td>\n",
       "      <td>-0.545770</td>\n",
       "      <td>0.132132</td>\n",
       "      <td>0.193859</td>\n",
       "      <td>-0.445805</td>\n",
       "      <td>-0.021884</td>\n",
       "      <td>0.067022</td>\n",
       "      <td>-0.130526</td>\n",
       "      <td>-0.061123</td>\n",
       "      <td>-0.164960</td>\n",
       "      <td>-0.109837</td>\n",
       "      <td>-0.526649</td>\n",
       "      <td>0.446232</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170623157092</th>\n",
       "      <td>-0.165796</td>\n",
       "      <td>-0.380291</td>\n",
       "      <td>0.853025</td>\n",
       "      <td>-0.248938</td>\n",
       "      <td>0.559761</td>\n",
       "      <td>0.833487</td>\n",
       "      <td>0.123186</td>\n",
       "      <td>0.399062</td>\n",
       "      <td>-0.155512</td>\n",
       "      <td>-0.893131</td>\n",
       "      <td>0.216157</td>\n",
       "      <td>-0.147587</td>\n",
       "      <td>0.403512</td>\n",
       "      <td>0.257230</td>\n",
       "      <td>-0.022544</td>\n",
       "      <td>0.063222</td>\n",
       "      <td>0.048275</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161118147425</th>\n",
       "      <td>0.432466</td>\n",
       "      <td>-0.177201</td>\n",
       "      <td>-0.636901</td>\n",
       "      <td>0.106261</td>\n",
       "      <td>-0.389613</td>\n",
       "      <td>1.143730</td>\n",
       "      <td>-0.671620</td>\n",
       "      <td>-0.164494</td>\n",
       "      <td>0.272756</td>\n",
       "      <td>0.459749</td>\n",
       "      <td>-0.249430</td>\n",
       "      <td>0.122065</td>\n",
       "      <td>0.301988</td>\n",
       "      <td>-0.451534</td>\n",
       "      <td>-0.252189</td>\n",
       "      <td>-0.299788</td>\n",
       "      <td>0.366389</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170626157188</th>\n",
       "      <td>-1.283893</td>\n",
       "      <td>-1.083923</td>\n",
       "      <td>-0.462985</td>\n",
       "      <td>-0.206401</td>\n",
       "      <td>0.980578</td>\n",
       "      <td>-0.234097</td>\n",
       "      <td>0.057597</td>\n",
       "      <td>-0.163251</td>\n",
       "      <td>-0.106310</td>\n",
       "      <td>-0.163193</td>\n",
       "      <td>-0.442610</td>\n",
       "      <td>-0.009878</td>\n",
       "      <td>0.172751</td>\n",
       "      <td>0.258095</td>\n",
       "      <td>0.572086</td>\n",
       "      <td>-0.003412</td>\n",
       "      <td>0.202402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170526156103</th>\n",
       "      <td>-1.292919</td>\n",
       "      <td>-1.081800</td>\n",
       "      <td>-0.443444</td>\n",
       "      <td>-0.164106</td>\n",
       "      <td>0.967898</td>\n",
       "      <td>-0.291604</td>\n",
       "      <td>0.003293</td>\n",
       "      <td>-0.141132</td>\n",
       "      <td>-0.214420</td>\n",
       "      <td>-0.198195</td>\n",
       "      <td>-0.466492</td>\n",
       "      <td>0.011362</td>\n",
       "      <td>0.183602</td>\n",
       "      <td>0.240110</td>\n",
       "      <td>0.536536</td>\n",
       "      <td>-0.028259</td>\n",
       "      <td>0.138222</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170410154090</th>\n",
       "      <td>-1.291915</td>\n",
       "      <td>-1.083904</td>\n",
       "      <td>-0.442241</td>\n",
       "      <td>-0.142647</td>\n",
       "      <td>0.969875</td>\n",
       "      <td>-0.308479</td>\n",
       "      <td>-0.048003</td>\n",
       "      <td>-0.189825</td>\n",
       "      <td>-0.249085</td>\n",
       "      <td>-0.195811</td>\n",
       "      <td>-0.481682</td>\n",
       "      <td>0.004870</td>\n",
       "      <td>0.253240</td>\n",
       "      <td>0.250378</td>\n",
       "      <td>0.517207</td>\n",
       "      <td>-0.045308</td>\n",
       "      <td>0.127582</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170223152098</th>\n",
       "      <td>-1.288259</td>\n",
       "      <td>-1.059430</td>\n",
       "      <td>-0.463590</td>\n",
       "      <td>-0.158607</td>\n",
       "      <td>0.976209</td>\n",
       "      <td>-0.317321</td>\n",
       "      <td>-0.154046</td>\n",
       "      <td>-0.176902</td>\n",
       "      <td>-0.331796</td>\n",
       "      <td>-0.262131</td>\n",
       "      <td>-0.482379</td>\n",
       "      <td>-0.043222</td>\n",
       "      <td>0.130425</td>\n",
       "      <td>0.274371</td>\n",
       "      <td>0.521225</td>\n",
       "      <td>-0.161958</td>\n",
       "      <td>0.101265</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170116151007</th>\n",
       "      <td>-1.239681</td>\n",
       "      <td>-1.121103</td>\n",
       "      <td>-0.574565</td>\n",
       "      <td>-0.264205</td>\n",
       "      <td>1.113960</td>\n",
       "      <td>0.060138</td>\n",
       "      <td>-0.085318</td>\n",
       "      <td>-0.601312</td>\n",
       "      <td>0.004617</td>\n",
       "      <td>0.029193</td>\n",
       "      <td>-0.393575</td>\n",
       "      <td>-0.071640</td>\n",
       "      <td>-0.050414</td>\n",
       "      <td>0.238230</td>\n",
       "      <td>0.647673</td>\n",
       "      <td>-0.063483</td>\n",
       "      <td>0.311437</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161222149674</th>\n",
       "      <td>-1.280536</td>\n",
       "      <td>-1.092062</td>\n",
       "      <td>-0.456180</td>\n",
       "      <td>-0.127965</td>\n",
       "      <td>1.023721</td>\n",
       "      <td>-0.202666</td>\n",
       "      <td>-0.223458</td>\n",
       "      <td>-0.445770</td>\n",
       "      <td>-0.386618</td>\n",
       "      <td>-0.099046</td>\n",
       "      <td>-0.474472</td>\n",
       "      <td>0.072497</td>\n",
       "      <td>-0.066602</td>\n",
       "      <td>0.241302</td>\n",
       "      <td>0.538244</td>\n",
       "      <td>-0.103840</td>\n",
       "      <td>0.017121</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170410154116</th>\n",
       "      <td>-0.247883</td>\n",
       "      <td>-0.191659</td>\n",
       "      <td>0.540994</td>\n",
       "      <td>1.013975</td>\n",
       "      <td>-0.496783</td>\n",
       "      <td>0.436233</td>\n",
       "      <td>-0.438743</td>\n",
       "      <td>0.065102</td>\n",
       "      <td>-0.264415</td>\n",
       "      <td>-0.776908</td>\n",
       "      <td>0.464443</td>\n",
       "      <td>0.757281</td>\n",
       "      <td>-0.166080</td>\n",
       "      <td>-0.522971</td>\n",
       "      <td>0.139766</td>\n",
       "      <td>-0.438020</td>\n",
       "      <td>0.213919</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170328153668</th>\n",
       "      <td>-0.247883</td>\n",
       "      <td>-0.191659</td>\n",
       "      <td>0.540994</td>\n",
       "      <td>1.013975</td>\n",
       "      <td>-0.496783</td>\n",
       "      <td>0.436233</td>\n",
       "      <td>-0.438743</td>\n",
       "      <td>0.065102</td>\n",
       "      <td>-0.264415</td>\n",
       "      <td>-0.776908</td>\n",
       "      <td>0.464443</td>\n",
       "      <td>0.757281</td>\n",
       "      <td>-0.166080</td>\n",
       "      <td>-0.522971</td>\n",
       "      <td>0.139766</td>\n",
       "      <td>-0.438020</td>\n",
       "      <td>0.213919</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170314153021</th>\n",
       "      <td>-0.274363</td>\n",
       "      <td>-0.288556</td>\n",
       "      <td>0.462161</td>\n",
       "      <td>1.020767</td>\n",
       "      <td>-0.393518</td>\n",
       "      <td>0.736882</td>\n",
       "      <td>-0.307724</td>\n",
       "      <td>-0.278921</td>\n",
       "      <td>-0.055835</td>\n",
       "      <td>-0.481899</td>\n",
       "      <td>0.518803</td>\n",
       "      <td>0.786444</td>\n",
       "      <td>-0.274950</td>\n",
       "      <td>-0.641600</td>\n",
       "      <td>0.147027</td>\n",
       "      <td>-0.212012</td>\n",
       "      <td>0.257682</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170313152910</th>\n",
       "      <td>-0.274363</td>\n",
       "      <td>-0.288556</td>\n",
       "      <td>0.462161</td>\n",
       "      <td>1.020767</td>\n",
       "      <td>-0.393518</td>\n",
       "      <td>0.736882</td>\n",
       "      <td>-0.307724</td>\n",
       "      <td>-0.278921</td>\n",
       "      <td>-0.055835</td>\n",
       "      <td>-0.481899</td>\n",
       "      <td>0.518803</td>\n",
       "      <td>0.786444</td>\n",
       "      <td>-0.274950</td>\n",
       "      <td>-0.641600</td>\n",
       "      <td>0.147027</td>\n",
       "      <td>-0.212012</td>\n",
       "      <td>0.257682</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170524156007</th>\n",
       "      <td>-0.117023</td>\n",
       "      <td>-0.936397</td>\n",
       "      <td>0.613037</td>\n",
       "      <td>-0.073237</td>\n",
       "      <td>0.333197</td>\n",
       "      <td>-0.706878</td>\n",
       "      <td>0.065339</td>\n",
       "      <td>0.064810</td>\n",
       "      <td>-0.258405</td>\n",
       "      <td>-0.280634</td>\n",
       "      <td>-0.050060</td>\n",
       "      <td>-0.129371</td>\n",
       "      <td>0.384481</td>\n",
       "      <td>0.089751</td>\n",
       "      <td>0.135980</td>\n",
       "      <td>-0.332539</td>\n",
       "      <td>0.013043</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170524156006</th>\n",
       "      <td>-0.113367</td>\n",
       "      <td>-0.944270</td>\n",
       "      <td>0.604488</td>\n",
       "      <td>-0.081268</td>\n",
       "      <td>0.346620</td>\n",
       "      <td>-0.668826</td>\n",
       "      <td>0.076524</td>\n",
       "      <td>0.025139</td>\n",
       "      <td>-0.227062</td>\n",
       "      <td>-0.251395</td>\n",
       "      <td>-0.039320</td>\n",
       "      <td>-0.126526</td>\n",
       "      <td>0.356603</td>\n",
       "      <td>0.084157</td>\n",
       "      <td>0.149293</td>\n",
       "      <td>-0.313714</td>\n",
       "      <td>0.026705</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170523155958</th>\n",
       "      <td>-0.117023</td>\n",
       "      <td>-0.936397</td>\n",
       "      <td>0.613037</td>\n",
       "      <td>-0.073237</td>\n",
       "      <td>0.333197</td>\n",
       "      <td>-0.706878</td>\n",
       "      <td>0.065339</td>\n",
       "      <td>0.064810</td>\n",
       "      <td>-0.258405</td>\n",
       "      <td>-0.280634</td>\n",
       "      <td>-0.050060</td>\n",
       "      <td>-0.129371</td>\n",
       "      <td>0.384481</td>\n",
       "      <td>0.089751</td>\n",
       "      <td>0.135980</td>\n",
       "      <td>-0.332539</td>\n",
       "      <td>0.013043</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170303152503</th>\n",
       "      <td>-0.115663</td>\n",
       "      <td>-0.996990</td>\n",
       "      <td>0.557175</td>\n",
       "      <td>-0.021112</td>\n",
       "      <td>0.405686</td>\n",
       "      <td>-0.624843</td>\n",
       "      <td>-0.055862</td>\n",
       "      <td>0.079468</td>\n",
       "      <td>-0.355234</td>\n",
       "      <td>-0.382064</td>\n",
       "      <td>-0.015617</td>\n",
       "      <td>-0.194093</td>\n",
       "      <td>0.239088</td>\n",
       "      <td>0.030277</td>\n",
       "      <td>0.114440</td>\n",
       "      <td>-0.314779</td>\n",
       "      <td>0.009886</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170110150708</th>\n",
       "      <td>-0.117186</td>\n",
       "      <td>-1.004744</td>\n",
       "      <td>0.554973</td>\n",
       "      <td>0.001496</td>\n",
       "      <td>0.415940</td>\n",
       "      <td>-0.627649</td>\n",
       "      <td>-0.105190</td>\n",
       "      <td>0.019038</td>\n",
       "      <td>-0.391251</td>\n",
       "      <td>-0.371250</td>\n",
       "      <td>-0.021861</td>\n",
       "      <td>-0.196010</td>\n",
       "      <td>0.274890</td>\n",
       "      <td>0.039346</td>\n",
       "      <td>0.091069</td>\n",
       "      <td>-0.309589</td>\n",
       "      <td>-0.011596</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161116147212</th>\n",
       "      <td>-0.116215</td>\n",
       "      <td>-1.001856</td>\n",
       "      <td>0.526044</td>\n",
       "      <td>-0.009422</td>\n",
       "      <td>0.443834</td>\n",
       "      <td>-0.591736</td>\n",
       "      <td>-0.200420</td>\n",
       "      <td>0.031944</td>\n",
       "      <td>-0.478722</td>\n",
       "      <td>-0.425217</td>\n",
       "      <td>-0.000820</td>\n",
       "      <td>-0.240758</td>\n",
       "      <td>0.071393</td>\n",
       "      <td>0.023128</td>\n",
       "      <td>0.087988</td>\n",
       "      <td>-0.358545</td>\n",
       "      <td>-0.055462</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161024145552</th>\n",
       "      <td>-0.123342</td>\n",
       "      <td>-1.018496</td>\n",
       "      <td>0.492769</td>\n",
       "      <td>0.034930</td>\n",
       "      <td>0.474587</td>\n",
       "      <td>-0.591724</td>\n",
       "      <td>-0.272823</td>\n",
       "      <td>-0.083327</td>\n",
       "      <td>-0.512105</td>\n",
       "      <td>-0.449473</td>\n",
       "      <td>0.007772</td>\n",
       "      <td>-0.245818</td>\n",
       "      <td>0.091402</td>\n",
       "      <td>0.111710</td>\n",
       "      <td>0.065338</td>\n",
       "      <td>-0.400311</td>\n",
       "      <td>-0.097373</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20161010109620</th>\n",
       "      <td>-0.116887</td>\n",
       "      <td>-1.029585</td>\n",
       "      <td>0.477901</td>\n",
       "      <td>0.039851</td>\n",
       "      <td>0.500833</td>\n",
       "      <td>-0.543822</td>\n",
       "      <td>-0.300506</td>\n",
       "      <td>-0.162716</td>\n",
       "      <td>-0.518666</td>\n",
       "      <td>-0.412787</td>\n",
       "      <td>0.012571</td>\n",
       "      <td>-0.236791</td>\n",
       "      <td>0.041117</td>\n",
       "      <td>0.078366</td>\n",
       "      <td>0.066496</td>\n",
       "      <td>-0.399048</td>\n",
       "      <td>-0.103969</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20160913107919</th>\n",
       "      <td>-0.140391</td>\n",
       "      <td>-1.006394</td>\n",
       "      <td>0.517978</td>\n",
       "      <td>0.097011</td>\n",
       "      <td>0.438304</td>\n",
       "      <td>-0.703496</td>\n",
       "      <td>-0.348807</td>\n",
       "      <td>-0.000480</td>\n",
       "      <td>-0.663407</td>\n",
       "      <td>-0.534206</td>\n",
       "      <td>-0.044270</td>\n",
       "      <td>-0.242561</td>\n",
       "      <td>0.181325</td>\n",
       "      <td>0.082776</td>\n",
       "      <td>0.010073</td>\n",
       "      <td>-0.474781</td>\n",
       "      <td>-0.170738</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20160823106464</th>\n",
       "      <td>-0.137639</td>\n",
       "      <td>-1.001432</td>\n",
       "      <td>0.509790</td>\n",
       "      <td>0.101768</td>\n",
       "      <td>0.450205</td>\n",
       "      <td>-0.697667</td>\n",
       "      <td>-0.394769</td>\n",
       "      <td>-0.034376</td>\n",
       "      <td>-0.710017</td>\n",
       "      <td>-0.536381</td>\n",
       "      <td>-0.041260</td>\n",
       "      <td>-0.241876</td>\n",
       "      <td>0.125904</td>\n",
       "      <td>0.057807</td>\n",
       "      <td>-0.000748</td>\n",
       "      <td>-0.504985</td>\n",
       "      <td>-0.191065</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016080818351</th>\n",
       "      <td>-0.091259</td>\n",
       "      <td>-1.097319</td>\n",
       "      <td>0.433884</td>\n",
       "      <td>0.004797</td>\n",
       "      <td>0.593689</td>\n",
       "      <td>-0.225111</td>\n",
       "      <td>-0.242274</td>\n",
       "      <td>-0.594257</td>\n",
       "      <td>-0.314203</td>\n",
       "      <td>-0.071705</td>\n",
       "      <td>0.041447</td>\n",
       "      <td>-0.145570</td>\n",
       "      <td>-0.144820</td>\n",
       "      <td>-0.012966</td>\n",
       "      <td>0.164845</td>\n",
       "      <td>-0.276551</td>\n",
       "      <td>-0.029015</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1391 rows × 18 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                         0         1         2         3         4         5  \\\n",
       "应收单号                                                                           \n",
       "YS2016080317738   0.591510 -0.991381 -0.179879 -0.109731 -0.100997 -0.309338   \n",
       "YS2016071915487   0.592579 -0.989469 -0.180751 -0.099472 -0.096084 -0.313262   \n",
       "YS2016070113517   0.595150 -0.988691 -0.182382 -0.087295 -0.088230 -0.316887   \n",
       "YS2016050505611   0.604024 -1.004640 -0.202076 -0.093905 -0.059060 -0.238011   \n",
       "YS20160913107905  0.706463  0.272605  0.999265  0.825454  0.548298 -0.015589   \n",
       "YS20160911107730  0.704892  0.269742  0.990814  0.821396  0.555468  0.002806   \n",
       "YS2016072516482   0.700558  0.275763  0.999820  0.846331  0.551757 -0.035107   \n",
       "YS2016072516481   0.700558  0.275763  0.999820  0.846331  0.551757 -0.035107   \n",
       "YS2016070714094   0.700019  0.270546  1.003891  0.868475  0.551927 -0.046620   \n",
       "YS2016062913080   0.691300  0.278839  1.027521  0.892986  0.527782 -0.106797   \n",
       "YS2016062412633   0.676117  0.293275  1.052695  0.925690  0.496268 -0.203859   \n",
       "YS2016062312293   0.682005  0.290798  1.054481  0.922334  0.498167 -0.191479   \n",
       "YS2016061310460   0.680234  0.269137  1.059185  0.936264  0.501550 -0.159896   \n",
       "YS2016052007711   0.675958  0.287879  1.095656  0.972693  0.464628 -0.268963   \n",
       "YS2016051106276   0.650485  0.298508  1.093719  0.997015  0.448693 -0.326498   \n",
       "YS20170314153009  0.044865  0.344828 -0.728377  0.645002 -0.158630  0.496669   \n",
       "YS20170228152326  0.040097  0.363060 -0.702126  0.680674 -0.181630  0.436058   \n",
       "YS20170112150913  0.024523  0.377543 -0.668651  0.732790 -0.214644  0.324503   \n",
       "YS20170104150388  0.029721  0.355426 -0.671955  0.735312 -0.199268  0.374041   \n",
       "YS20161221149603  0.014048  0.384593 -0.633587  0.783389 -0.251629  0.217703   \n",
       "YS20161205148426  0.071334  0.279892 -0.738460  0.677932 -0.069281  0.721758   \n",
       "YS20161205148425  0.071334  0.279892 -0.738460  0.677932 -0.069281  0.721758   \n",
       "YS20170109150628 -0.039969 -1.307232 -0.168746 -0.172301  0.434734 -0.393436   \n",
       "YS20161109146812 -0.028231 -1.328044 -0.196892 -0.153115  0.493184 -0.301235   \n",
       "YS20161103146353 -0.052789 -1.333385 -0.146475 -0.064037  0.447181 -0.443710   \n",
       "YS20161102146292 -0.079668 -1.282514 -0.092100 -0.007871  0.359092 -0.691503   \n",
       "YS20161020110526 -0.005507 -1.435927 -0.242941 -0.107194  0.588669 -0.036757   \n",
       "YS20170510155341 -0.080948 -0.678850  0.901179 -0.185027  0.361594  0.633919   \n",
       "YS20170503155084 -0.078734 -0.685506  0.901558 -0.158958  0.372896  0.628375   \n",
       "YS20170407154030 -0.082835 -0.730400  0.888936 -0.112404  0.395510  0.654078   \n",
       "...                    ...       ...       ...       ...       ...       ...   \n",
       "YS20161017110143  0.404086 -0.668542 -0.609071  0.572706 -0.811935  0.481675   \n",
       "YS2016072516403   0.409129 -0.621138 -0.614321  0.531312 -0.815258  0.492382   \n",
       "YS20170620156915 -0.121750 -1.007050  0.570257 -0.129290  0.368835 -0.661138   \n",
       "YS20170522155869 -0.121656 -1.014841  0.567248 -0.108681  0.380948 -0.655471   \n",
       "YS20170502155027 -0.115257 -1.023314  0.562003 -0.098924  0.399972 -0.627500   \n",
       "YS20170424154734 -0.109936 -1.028181  0.558869 -0.105659  0.407755 -0.603164   \n",
       "YS20170222151991 -0.099584 -1.058789  0.551428 -0.070863  0.445454 -0.545770   \n",
       "YS20170623157092 -0.165796 -0.380291  0.853025 -0.248938  0.559761  0.833487   \n",
       "YS20161118147425  0.432466 -0.177201 -0.636901  0.106261 -0.389613  1.143730   \n",
       "YS20170626157188 -1.283893 -1.083923 -0.462985 -0.206401  0.980578 -0.234097   \n",
       "YS20170526156103 -1.292919 -1.081800 -0.443444 -0.164106  0.967898 -0.291604   \n",
       "YS20170410154090 -1.291915 -1.083904 -0.442241 -0.142647  0.969875 -0.308479   \n",
       "YS20170223152098 -1.288259 -1.059430 -0.463590 -0.158607  0.976209 -0.317321   \n",
       "YS20170116151007 -1.239681 -1.121103 -0.574565 -0.264205  1.113960  0.060138   \n",
       "YS20161222149674 -1.280536 -1.092062 -0.456180 -0.127965  1.023721 -0.202666   \n",
       "YS20170410154116 -0.247883 -0.191659  0.540994  1.013975 -0.496783  0.436233   \n",
       "YS20170328153668 -0.247883 -0.191659  0.540994  1.013975 -0.496783  0.436233   \n",
       "YS20170314153021 -0.274363 -0.288556  0.462161  1.020767 -0.393518  0.736882   \n",
       "YS20170313152910 -0.274363 -0.288556  0.462161  1.020767 -0.393518  0.736882   \n",
       "YS20170524156007 -0.117023 -0.936397  0.613037 -0.073237  0.333197 -0.706878   \n",
       "YS20170524156006 -0.113367 -0.944270  0.604488 -0.081268  0.346620 -0.668826   \n",
       "YS20170523155958 -0.117023 -0.936397  0.613037 -0.073237  0.333197 -0.706878   \n",
       "YS20170303152503 -0.115663 -0.996990  0.557175 -0.021112  0.405686 -0.624843   \n",
       "YS20170110150708 -0.117186 -1.004744  0.554973  0.001496  0.415940 -0.627649   \n",
       "YS20161116147212 -0.116215 -1.001856  0.526044 -0.009422  0.443834 -0.591736   \n",
       "YS20161024145552 -0.123342 -1.018496  0.492769  0.034930  0.474587 -0.591724   \n",
       "YS20161010109620 -0.116887 -1.029585  0.477901  0.039851  0.500833 -0.543822   \n",
       "YS20160913107919 -0.140391 -1.006394  0.517978  0.097011  0.438304 -0.703496   \n",
       "YS20160823106464 -0.137639 -1.001432  0.509790  0.101768  0.450205 -0.697667   \n",
       "YS2016080818351  -0.091259 -1.097319  0.433884  0.004797  0.593689 -0.225111   \n",
       "\n",
       "                         6         7         8         9        10        11  \\\n",
       "应收单号                                                                           \n",
       "YS2016080317738  -0.639858  0.177327  0.166684 -0.024806 -0.391434  0.234738   \n",
       "YS2016071915487  -0.674657  0.143671  0.129902 -0.016644 -0.401943  0.235614   \n",
       "YS2016070113517  -0.731374  0.085260  0.089858 -0.010944 -0.407942  0.231214   \n",
       "YS2016050505611  -0.746848 -0.033747  0.116932  0.069330 -0.409018  0.231907   \n",
       "YS20160913107905 -0.743391  0.400789  0.590594  0.223385 -0.490253  0.259597   \n",
       "YS20160911107730 -0.730854  0.379226  0.612134  0.238465 -0.481426  0.252201   \n",
       "YS2016072516482  -0.839709  0.443148  0.449468  0.163465 -0.493937  0.243401   \n",
       "YS2016072516481  -0.839709  0.443148  0.449468  0.163465 -0.493937  0.243401   \n",
       "YS2016070714094  -0.878524  0.430242  0.394419  0.166823 -0.513409  0.245028   \n",
       "YS2016062913080  -0.905240  0.487816  0.308233  0.129846 -0.540118  0.259903   \n",
       "YS2016062412633  -0.933621  0.587035  0.205989  0.057489 -0.564781  0.268875   \n",
       "YS2016062312293  -0.935687  0.576826  0.217015  0.062205 -0.563636  0.273482   \n",
       "YS2016061310460  -0.916805  0.534117  0.209705  0.138806 -0.601806  0.293817   \n",
       "YS2016052007711  -0.966534  0.590948  0.079998  0.108489 -0.675222  0.308965   \n",
       "YS2016051106276  -0.950693  0.638558  0.042239  0.067256 -0.671227  0.279762   \n",
       "YS20170314153009 -0.118657  0.396118 -0.405576 -0.015316 -0.239439 -0.456705   \n",
       "YS20170228152326 -0.171813  0.417859 -0.501764 -0.088294 -0.322974 -0.446873   \n",
       "YS20170112150913 -0.247695  0.511522 -0.682130 -0.166938 -0.362044 -0.430581   \n",
       "YS20170104150388 -0.247352  0.435489 -0.654857 -0.105879 -0.366906 -0.424655   \n",
       "YS20161221149603 -0.315705  0.565950 -0.835326 -0.196749 -0.433172 -0.431757   \n",
       "YS20161205148426 -0.204531  0.009981 -0.486975  0.239398 -0.333196 -0.372504   \n",
       "YS20161205148425 -0.204531  0.009981 -0.486975  0.239398 -0.333196 -0.372504   \n",
       "YS20170109150628  0.104443  0.181979 -0.375408  0.061617 -0.095867 -0.089290   \n",
       "YS20161109146812  0.012688 -0.083385 -0.342906  0.135075 -0.058117 -0.071029   \n",
       "YS20161103146353 -0.061409  0.060157 -0.547420  0.020789 -0.111378 -0.042995   \n",
       "YS20161102146292 -0.127309  0.316380 -0.747139 -0.173000 -0.175932 -0.067406   \n",
       "YS20161020110526 -0.178873 -0.279199 -0.519772  0.239430 -0.148574 -0.093380   \n",
       "YS20170510155341  0.601677 -0.580088  0.060742 -0.327088 -0.058853  0.039225   \n",
       "YS20170503155084  0.546475 -0.659607  0.007800 -0.308974 -0.074975  0.056542   \n",
       "YS20170407154030  0.525307 -0.630636 -0.029590 -0.339249 -0.076568  0.047868   \n",
       "...                    ...       ...       ...       ...       ...       ...   \n",
       "YS20161017110143  0.004061 -0.447396 -0.433683 -0.290055  0.353226  0.577436   \n",
       "YS2016072516403  -0.109172 -0.498726 -0.522928 -0.291090  0.359054  0.570214   \n",
       "YS20170620156915  0.328320  0.541646 -0.320005 -0.174073  0.080406 -0.167856   \n",
       "YS20170522155869  0.276440  0.477851 -0.365410 -0.157063  0.074406 -0.164958   \n",
       "YS20170502155027  0.221341  0.394237 -0.399345 -0.128951  0.077595 -0.158455   \n",
       "YS20170424154734  0.223806  0.370693 -0.380417 -0.111123  0.081690 -0.153139   \n",
       "YS20170222151991  0.132132  0.193859 -0.445805 -0.021884  0.067022 -0.130526   \n",
       "YS20170623157092  0.123186  0.399062 -0.155512 -0.893131  0.216157 -0.147587   \n",
       "YS20161118147425 -0.671620 -0.164494  0.272756  0.459749 -0.249430  0.122065   \n",
       "YS20170626157188  0.057597 -0.163251 -0.106310 -0.163193 -0.442610 -0.009878   \n",
       "YS20170526156103  0.003293 -0.141132 -0.214420 -0.198195 -0.466492  0.011362   \n",
       "YS20170410154090 -0.048003 -0.189825 -0.249085 -0.195811 -0.481682  0.004870   \n",
       "YS20170223152098 -0.154046 -0.176902 -0.331796 -0.262131 -0.482379 -0.043222   \n",
       "YS20170116151007 -0.085318 -0.601312  0.004617  0.029193 -0.393575 -0.071640   \n",
       "YS20161222149674 -0.223458 -0.445770 -0.386618 -0.099046 -0.474472  0.072497   \n",
       "YS20170410154116 -0.438743  0.065102 -0.264415 -0.776908  0.464443  0.757281   \n",
       "YS20170328153668 -0.438743  0.065102 -0.264415 -0.776908  0.464443  0.757281   \n",
       "YS20170314153021 -0.307724 -0.278921 -0.055835 -0.481899  0.518803  0.786444   \n",
       "YS20170313152910 -0.307724 -0.278921 -0.055835 -0.481899  0.518803  0.786444   \n",
       "YS20170524156007  0.065339  0.064810 -0.258405 -0.280634 -0.050060 -0.129371   \n",
       "YS20170524156006  0.076524  0.025139 -0.227062 -0.251395 -0.039320 -0.126526   \n",
       "YS20170523155958  0.065339  0.064810 -0.258405 -0.280634 -0.050060 -0.129371   \n",
       "YS20170303152503 -0.055862  0.079468 -0.355234 -0.382064 -0.015617 -0.194093   \n",
       "YS20170110150708 -0.105190  0.019038 -0.391251 -0.371250 -0.021861 -0.196010   \n",
       "YS20161116147212 -0.200420  0.031944 -0.478722 -0.425217 -0.000820 -0.240758   \n",
       "YS20161024145552 -0.272823 -0.083327 -0.512105 -0.449473  0.007772 -0.245818   \n",
       "YS20161010109620 -0.300506 -0.162716 -0.518666 -0.412787  0.012571 -0.236791   \n",
       "YS20160913107919 -0.348807 -0.000480 -0.663407 -0.534206 -0.044270 -0.242561   \n",
       "YS20160823106464 -0.394769 -0.034376 -0.710017 -0.536381 -0.041260 -0.241876   \n",
       "YS2016080818351  -0.242274 -0.594257 -0.314203 -0.071705  0.041447 -0.145570   \n",
       "\n",
       "                        12        13        14        15        16  label  \n",
       "应收单号                                                                       \n",
       "YS2016080317738  -0.260365  0.091879  0.704767  0.476707 -0.050315      0  \n",
       "YS2016071915487  -0.263502  0.073772  0.688663  0.455407 -0.066478      0  \n",
       "YS2016070113517  -0.253110  0.080561  0.673403  0.439883 -0.076114      0  \n",
       "YS2016050505611  -0.300337  0.043364  0.679244  0.445577 -0.046764      0  \n",
       "YS20160913107905  0.114868  0.012208  0.217073  0.163405  0.124697      1  \n",
       "YS20160911107730  0.106916  0.005012  0.217646  0.175288  0.126762      1  \n",
       "YS2016072516482  -0.026740 -0.013894  0.188703  0.111146  0.050406      0  \n",
       "YS2016072516481  -0.026740 -0.013894  0.188703  0.111146  0.050406      0  \n",
       "YS2016070714094  -0.013524 -0.039468  0.161711  0.089966  0.034651      0  \n",
       "YS2016062913080  -0.010740 -0.050945  0.132078  0.065640 -0.000305      0  \n",
       "YS2016062412633   0.029272 -0.045830  0.088985  0.038199 -0.063642      1  \n",
       "YS2016062312293   0.019881 -0.042656  0.105805  0.036758 -0.050772      0  \n",
       "YS2016061310460   0.025468 -0.092552  0.070696  0.065150 -0.045909      0  \n",
       "YS2016052007711   0.117193 -0.119396 -0.001414  0.001107 -0.102746      0  \n",
       "YS2016051106276   0.153322 -0.140480 -0.051226  0.003543 -0.171802      1  \n",
       "YS20170314153009 -0.002707  0.207882 -0.223280 -0.037677  0.267482      0  \n",
       "YS20170228152326  0.021724  0.142437 -0.252715  0.016273  0.057855      0  \n",
       "YS20170112150913  0.014760  0.116050 -0.320685 -0.036693 -0.031076      0  \n",
       "YS20170104150388  0.015965  0.119484 -0.322557  0.006568 -0.004968      0  \n",
       "YS20161221149603  0.104259  0.093546 -0.414741 -0.082354 -0.086934      0  \n",
       "YS20161205148426 -0.293665 -0.020846 -0.285813  0.142809  0.094443      0  \n",
       "YS20161205148425 -0.293665 -0.020846 -0.285813  0.142809  0.094443      0  \n",
       "YS20170109150628  0.157749 -0.199631  0.001126 -0.114816 -0.086030      0  \n",
       "YS20161109146812  0.191068 -0.172738  0.046756 -0.095048 -0.072038      0  \n",
       "YS20161103146353  0.257734 -0.177153 -0.032706 -0.106534 -0.175916      0  \n",
       "YS20161102146292  0.436717 -0.147120 -0.118821 -0.224632 -0.275131      0  \n",
       "YS20161020110526 -0.329575 -0.374393 -0.034842  0.074606 -0.186179      0  \n",
       "YS20170510155341 -0.095765 -0.104242 -0.135625 -0.162900  0.484431      0  \n",
       "YS20170503155084 -0.079193 -0.093453 -0.161679 -0.178645  0.459741      0  \n",
       "YS20170407154030 -0.077480 -0.130964 -0.187429 -0.140131  0.469865      0  \n",
       "...                    ...       ...       ...       ...       ...    ...  \n",
       "YS20161017110143  0.027927  0.007063  0.160230  0.036311  0.017167      0  \n",
       "YS2016072516403  -0.213891  0.010445  0.180571 -0.079548 -0.038152      0  \n",
       "YS20170620156915 -0.011781 -0.119490 -0.050934 -0.549365  0.447996      0  \n",
       "YS20170522155869 -0.005102 -0.126725 -0.074834 -0.550771  0.431340      1  \n",
       "YS20170502155027 -0.035902 -0.133279 -0.082158 -0.552706  0.434794      0  \n",
       "YS20170424154734 -0.053012 -0.132644 -0.068632 -0.545316  0.450459      0  \n",
       "YS20170222151991 -0.061123 -0.164960 -0.109837 -0.526649  0.446232      1  \n",
       "YS20170623157092  0.403512  0.257230 -0.022544  0.063222  0.048275      0  \n",
       "YS20161118147425  0.301988 -0.451534 -0.252189 -0.299788  0.366389      0  \n",
       "YS20170626157188  0.172751  0.258095  0.572086 -0.003412  0.202402      0  \n",
       "YS20170526156103  0.183602  0.240110  0.536536 -0.028259  0.138222      0  \n",
       "YS20170410154090  0.253240  0.250378  0.517207 -0.045308  0.127582      0  \n",
       "YS20170223152098  0.130425  0.274371  0.521225 -0.161958  0.101265      0  \n",
       "YS20170116151007 -0.050414  0.238230  0.647673 -0.063483  0.311437      0  \n",
       "YS20161222149674 -0.066602  0.241302  0.538244 -0.103840  0.017121      0  \n",
       "YS20170410154116 -0.166080 -0.522971  0.139766 -0.438020  0.213919      1  \n",
       "YS20170328153668 -0.166080 -0.522971  0.139766 -0.438020  0.213919      1  \n",
       "YS20170314153021 -0.274950 -0.641600  0.147027 -0.212012  0.257682      1  \n",
       "YS20170313152910 -0.274950 -0.641600  0.147027 -0.212012  0.257682      1  \n",
       "YS20170524156007  0.384481  0.089751  0.135980 -0.332539  0.013043      0  \n",
       "YS20170524156006  0.356603  0.084157  0.149293 -0.313714  0.026705      0  \n",
       "YS20170523155958  0.384481  0.089751  0.135980 -0.332539  0.013043      1  \n",
       "YS20170303152503  0.239088  0.030277  0.114440 -0.314779  0.009886      1  \n",
       "YS20170110150708  0.274890  0.039346  0.091069 -0.309589 -0.011596      1  \n",
       "YS20161116147212  0.071393  0.023128  0.087988 -0.358545 -0.055462      1  \n",
       "YS20161024145552  0.091402  0.111710  0.065338 -0.400311 -0.097373      1  \n",
       "YS20161010109620  0.041117  0.078366  0.066496 -0.399048 -0.103969      0  \n",
       "YS20160913107919  0.181325  0.082776  0.010073 -0.474781 -0.170738      0  \n",
       "YS20160823106464  0.125904  0.057807 -0.000748 -0.504985 -0.191065      0  \n",
       "YS2016080818351  -0.144820 -0.012966  0.164845 -0.276551 -0.029015      0  \n",
       "\n",
       "[1391 rows x 18 columns]"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pca_samples = pd.DataFrame(data_pca)\n",
    "# pca_samples = data['label'].reset_index().join(pca_samples)\n",
    "pca_samples = pca_samples.join(data['label'].reset_index())\n",
    "pca_samples = pca_samples.set_index('应收单号')\n",
    "pca_samples.to_csv('./data/samples_pca.csv')\n",
    "pca_samples"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "方差贡献率总和 0.919814643696\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>14</th>\n",
       "      <th>15</th>\n",
       "      <th>16</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.207768</td>\n",
       "      <td>0.158806</td>\n",
       "      <td>0.118658</td>\n",
       "      <td>0.085096</td>\n",
       "      <td>0.074684</td>\n",
       "      <td>0.043681</td>\n",
       "      <td>0.039717</td>\n",
       "      <td>0.036169</td>\n",
       "      <td>0.028349</td>\n",
       "      <td>0.024739</td>\n",
       "      <td>0.021489</td>\n",
       "      <td>0.017979</td>\n",
       "      <td>0.015862</td>\n",
       "      <td>0.013346</td>\n",
       "      <td>0.013018</td>\n",
       "      <td>0.010911</td>\n",
       "      <td>0.009545</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         0         1         2         3         4         5         6   \\\n",
       "0  0.207768  0.158806  0.118658  0.085096  0.074684  0.043681  0.039717   \n",
       "\n",
       "         7         8         9         10        11        12        13  \\\n",
       "0  0.036169  0.028349  0.024739  0.021489  0.017979  0.015862  0.013346   \n",
       "\n",
       "         14        15        16  \n",
       "0  0.013018  0.010911  0.009545  "
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#n个成分各自的方差百分比,这里可以理解为单个变量方差贡献率\n",
    "tmp = pca.explained_variance_ratio_\n",
    "print '方差贡献率总和',pd.DataFrame(tmp).sum()[0]\n",
    "pd.DataFrame(tmp).T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>14</th>\n",
       "      <th>15</th>\n",
       "      <th>16</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>订单总数</th>\n",
       "      <td>0.019586</td>\n",
       "      <td>0.051055</td>\n",
       "      <td>-0.008486</td>\n",
       "      <td>-0.132866</td>\n",
       "      <td>-0.016745</td>\n",
       "      <td>-0.008379</td>\n",
       "      <td>0.182515</td>\n",
       "      <td>0.220083</td>\n",
       "      <td>0.126914</td>\n",
       "      <td>-0.017803</td>\n",
       "      <td>0.041052</td>\n",
       "      <td>-0.051816</td>\n",
       "      <td>-0.120253</td>\n",
       "      <td>0.013608</td>\n",
       "      <td>0.006205</td>\n",
       "      <td>0.020100</td>\n",
       "      <td>-0.030802</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>合作时间（月）</th>\n",
       "      <td>-0.016278</td>\n",
       "      <td>-0.007721</td>\n",
       "      <td>0.045356</td>\n",
       "      <td>-0.044560</td>\n",
       "      <td>-0.073924</td>\n",
       "      <td>-0.031040</td>\n",
       "      <td>0.301912</td>\n",
       "      <td>0.221518</td>\n",
       "      <td>0.227412</td>\n",
       "      <td>0.031599</td>\n",
       "      <td>-0.046914</td>\n",
       "      <td>-0.001586</td>\n",
       "      <td>0.200444</td>\n",
       "      <td>0.025089</td>\n",
       "      <td>0.004056</td>\n",
       "      <td>0.167716</td>\n",
       "      <td>0.087168</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>最近交易（X月之前）</th>\n",
       "      <td>0.004314</td>\n",
       "      <td>-0.012413</td>\n",
       "      <td>0.012951</td>\n",
       "      <td>0.017269</td>\n",
       "      <td>-0.003352</td>\n",
       "      <td>-0.014430</td>\n",
       "      <td>0.039719</td>\n",
       "      <td>-0.030189</td>\n",
       "      <td>0.044545</td>\n",
       "      <td>0.048685</td>\n",
       "      <td>-0.051053</td>\n",
       "      <td>0.020831</td>\n",
       "      <td>0.137947</td>\n",
       "      <td>-0.003067</td>\n",
       "      <td>-0.017770</td>\n",
       "      <td>0.022231</td>\n",
       "      <td>-0.044893</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>最近连续交易月数</th>\n",
       "      <td>0.013145</td>\n",
       "      <td>0.014177</td>\n",
       "      <td>0.001936</td>\n",
       "      <td>-0.106173</td>\n",
       "      <td>-0.009882</td>\n",
       "      <td>0.045721</td>\n",
       "      <td>0.092697</td>\n",
       "      <td>0.206878</td>\n",
       "      <td>0.042446</td>\n",
       "      <td>-0.022431</td>\n",
       "      <td>0.038454</td>\n",
       "      <td>-0.044333</td>\n",
       "      <td>-0.225364</td>\n",
       "      <td>0.048684</td>\n",
       "      <td>0.050765</td>\n",
       "      <td>0.011286</td>\n",
       "      <td>-0.052999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>采购断档总月数</th>\n",
       "      <td>-0.000405</td>\n",
       "      <td>-0.024231</td>\n",
       "      <td>0.039951</td>\n",
       "      <td>0.049342</td>\n",
       "      <td>-0.016256</td>\n",
       "      <td>-0.060261</td>\n",
       "      <td>0.150459</td>\n",
       "      <td>-0.044635</td>\n",
       "      <td>0.069382</td>\n",
       "      <td>0.117332</td>\n",
       "      <td>-0.050058</td>\n",
       "      <td>0.069190</td>\n",
       "      <td>0.375289</td>\n",
       "      <td>-0.039102</td>\n",
       "      <td>-0.073856</td>\n",
       "      <td>0.140743</td>\n",
       "      <td>-0.027262</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔均值（天）</th>\n",
       "      <td>0.002611</td>\n",
       "      <td>-0.014566</td>\n",
       "      <td>0.018100</td>\n",
       "      <td>0.022484</td>\n",
       "      <td>0.002762</td>\n",
       "      <td>-0.015984</td>\n",
       "      <td>0.040864</td>\n",
       "      <td>-0.046527</td>\n",
       "      <td>0.011026</td>\n",
       "      <td>0.055371</td>\n",
       "      <td>-0.041915</td>\n",
       "      <td>0.021609</td>\n",
       "      <td>0.122050</td>\n",
       "      <td>-0.012305</td>\n",
       "      <td>-0.025236</td>\n",
       "      <td>0.021532</td>\n",
       "      <td>-0.040305</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔方差（天）</th>\n",
       "      <td>-0.003323</td>\n",
       "      <td>-0.020943</td>\n",
       "      <td>0.033402</td>\n",
       "      <td>0.034563</td>\n",
       "      <td>-0.006158</td>\n",
       "      <td>-0.020585</td>\n",
       "      <td>0.071482</td>\n",
       "      <td>-0.022366</td>\n",
       "      <td>0.024203</td>\n",
       "      <td>0.079844</td>\n",
       "      <td>-0.030488</td>\n",
       "      <td>0.059365</td>\n",
       "      <td>0.213670</td>\n",
       "      <td>-0.049279</td>\n",
       "      <td>-0.048042</td>\n",
       "      <td>0.068002</td>\n",
       "      <td>-0.030457</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易总量</th>\n",
       "      <td>0.022865</td>\n",
       "      <td>0.144054</td>\n",
       "      <td>0.010315</td>\n",
       "      <td>-0.166634</td>\n",
       "      <td>-0.038258</td>\n",
       "      <td>-0.111759</td>\n",
       "      <td>0.130275</td>\n",
       "      <td>0.086234</td>\n",
       "      <td>0.096232</td>\n",
       "      <td>-0.045024</td>\n",
       "      <td>0.048384</td>\n",
       "      <td>-0.009833</td>\n",
       "      <td>-0.102378</td>\n",
       "      <td>0.010911</td>\n",
       "      <td>0.021496</td>\n",
       "      <td>-0.043426</td>\n",
       "      <td>-0.010738</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量最大值</th>\n",
       "      <td>-0.014886</td>\n",
       "      <td>0.155367</td>\n",
       "      <td>0.120808</td>\n",
       "      <td>-0.122284</td>\n",
       "      <td>-0.162167</td>\n",
       "      <td>-0.103447</td>\n",
       "      <td>0.084046</td>\n",
       "      <td>-0.055894</td>\n",
       "      <td>0.026966</td>\n",
       "      <td>0.169114</td>\n",
       "      <td>-0.089371</td>\n",
       "      <td>0.064063</td>\n",
       "      <td>-0.016266</td>\n",
       "      <td>0.058606</td>\n",
       "      <td>0.072834</td>\n",
       "      <td>-0.089975</td>\n",
       "      <td>-0.103946</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量最小值</th>\n",
       "      <td>0.005679</td>\n",
       "      <td>-0.019634</td>\n",
       "      <td>-0.024918</td>\n",
       "      <td>0.051201</td>\n",
       "      <td>0.012745</td>\n",
       "      <td>0.008279</td>\n",
       "      <td>-0.043194</td>\n",
       "      <td>-0.109119</td>\n",
       "      <td>0.013044</td>\n",
       "      <td>-0.021302</td>\n",
       "      <td>-0.045712</td>\n",
       "      <td>0.056103</td>\n",
       "      <td>0.045020</td>\n",
       "      <td>0.107203</td>\n",
       "      <td>-0.013909</td>\n",
       "      <td>-0.076184</td>\n",
       "      <td>-0.084558</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量方差</th>\n",
       "      <td>0.005106</td>\n",
       "      <td>0.093753</td>\n",
       "      <td>0.069151</td>\n",
       "      <td>-0.069508</td>\n",
       "      <td>-0.082109</td>\n",
       "      <td>-0.081380</td>\n",
       "      <td>0.031102</td>\n",
       "      <td>-0.094665</td>\n",
       "      <td>-0.002652</td>\n",
       "      <td>0.141522</td>\n",
       "      <td>-0.061169</td>\n",
       "      <td>0.060274</td>\n",
       "      <td>0.010907</td>\n",
       "      <td>0.015935</td>\n",
       "      <td>0.001148</td>\n",
       "      <td>-0.067036</td>\n",
       "      <td>-0.115137</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量均值</th>\n",
       "      <td>0.017572</td>\n",
       "      <td>0.187414</td>\n",
       "      <td>0.052417</td>\n",
       "      <td>-0.130531</td>\n",
       "      <td>-0.067733</td>\n",
       "      <td>-0.150388</td>\n",
       "      <td>0.016340</td>\n",
       "      <td>-0.198548</td>\n",
       "      <td>0.007547</td>\n",
       "      <td>0.082907</td>\n",
       "      <td>-0.064530</td>\n",
       "      <td>0.083749</td>\n",
       "      <td>-0.022816</td>\n",
       "      <td>0.014974</td>\n",
       "      <td>0.004912</td>\n",
       "      <td>-0.111435</td>\n",
       "      <td>-0.125048</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额总量</th>\n",
       "      <td>0.021970</td>\n",
       "      <td>0.131112</td>\n",
       "      <td>-0.003731</td>\n",
       "      <td>-0.157453</td>\n",
       "      <td>-0.027542</td>\n",
       "      <td>-0.120933</td>\n",
       "      <td>0.127301</td>\n",
       "      <td>0.090616</td>\n",
       "      <td>0.099337</td>\n",
       "      <td>-0.034399</td>\n",
       "      <td>0.071554</td>\n",
       "      <td>0.003976</td>\n",
       "      <td>-0.090635</td>\n",
       "      <td>0.056109</td>\n",
       "      <td>0.018581</td>\n",
       "      <td>-0.070745</td>\n",
       "      <td>0.050544</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额最大值</th>\n",
       "      <td>-0.011073</td>\n",
       "      <td>0.159853</td>\n",
       "      <td>0.107836</td>\n",
       "      <td>-0.138434</td>\n",
       "      <td>-0.152475</td>\n",
       "      <td>-0.146728</td>\n",
       "      <td>0.103725</td>\n",
       "      <td>-0.056992</td>\n",
       "      <td>0.053152</td>\n",
       "      <td>0.221059</td>\n",
       "      <td>-0.046387</td>\n",
       "      <td>0.115775</td>\n",
       "      <td>-0.000662</td>\n",
       "      <td>0.144998</td>\n",
       "      <td>0.058575</td>\n",
       "      <td>-0.189487</td>\n",
       "      <td>-0.044729</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额最小值</th>\n",
       "      <td>-0.002989</td>\n",
       "      <td>-0.038949</td>\n",
       "      <td>-0.037667</td>\n",
       "      <td>0.066260</td>\n",
       "      <td>0.024558</td>\n",
       "      <td>0.002686</td>\n",
       "      <td>-0.057624</td>\n",
       "      <td>-0.114498</td>\n",
       "      <td>-0.020686</td>\n",
       "      <td>-0.003945</td>\n",
       "      <td>-0.016434</td>\n",
       "      <td>0.055239</td>\n",
       "      <td>0.068901</td>\n",
       "      <td>0.172189</td>\n",
       "      <td>0.016915</td>\n",
       "      <td>-0.128584</td>\n",
       "      <td>-0.004836</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额方差</th>\n",
       "      <td>0.006383</td>\n",
       "      <td>0.085579</td>\n",
       "      <td>0.060176</td>\n",
       "      <td>-0.066389</td>\n",
       "      <td>-0.073610</td>\n",
       "      <td>-0.094829</td>\n",
       "      <td>0.040407</td>\n",
       "      <td>-0.100478</td>\n",
       "      <td>0.010082</td>\n",
       "      <td>0.178651</td>\n",
       "      <td>-0.045604</td>\n",
       "      <td>0.094893</td>\n",
       "      <td>0.027156</td>\n",
       "      <td>0.060235</td>\n",
       "      <td>-0.019153</td>\n",
       "      <td>-0.120776</td>\n",
       "      <td>-0.096227</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额均值</th>\n",
       "      <td>0.008320</td>\n",
       "      <td>0.093517</td>\n",
       "      <td>0.016050</td>\n",
       "      <td>-0.069278</td>\n",
       "      <td>-0.026030</td>\n",
       "      <td>-0.099212</td>\n",
       "      <td>0.012349</td>\n",
       "      <td>-0.106903</td>\n",
       "      <td>-0.001907</td>\n",
       "      <td>0.064896</td>\n",
       "      <td>-0.008212</td>\n",
       "      <td>0.061174</td>\n",
       "      <td>0.010731</td>\n",
       "      <td>0.062035</td>\n",
       "      <td>0.007950</td>\n",
       "      <td>-0.121568</td>\n",
       "      <td>-0.007266</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易稳定性（近三个月交易量变化均值）</th>\n",
       "      <td>0.001147</td>\n",
       "      <td>0.009731</td>\n",
       "      <td>0.000317</td>\n",
       "      <td>-0.009774</td>\n",
       "      <td>-0.003301</td>\n",
       "      <td>-0.008460</td>\n",
       "      <td>-0.001241</td>\n",
       "      <td>0.000280</td>\n",
       "      <td>-0.000436</td>\n",
       "      <td>0.012456</td>\n",
       "      <td>0.005161</td>\n",
       "      <td>-0.005833</td>\n",
       "      <td>-0.008348</td>\n",
       "      <td>-0.019841</td>\n",
       "      <td>-0.011003</td>\n",
       "      <td>0.002720</td>\n",
       "      <td>-0.011965</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>供应商数量</th>\n",
       "      <td>-0.006452</td>\n",
       "      <td>0.038890</td>\n",
       "      <td>0.008409</td>\n",
       "      <td>-0.079477</td>\n",
       "      <td>-0.034504</td>\n",
       "      <td>-0.035562</td>\n",
       "      <td>0.262644</td>\n",
       "      <td>0.329828</td>\n",
       "      <td>0.083968</td>\n",
       "      <td>-0.000802</td>\n",
       "      <td>-0.016786</td>\n",
       "      <td>-0.005038</td>\n",
       "      <td>-0.161312</td>\n",
       "      <td>-0.193032</td>\n",
       "      <td>-0.018732</td>\n",
       "      <td>-0.060277</td>\n",
       "      <td>-0.027099</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>采购产品种类数量</th>\n",
       "      <td>-0.014834</td>\n",
       "      <td>-0.033540</td>\n",
       "      <td>-0.007802</td>\n",
       "      <td>0.016896</td>\n",
       "      <td>0.007818</td>\n",
       "      <td>-0.041061</td>\n",
       "      <td>-0.009149</td>\n",
       "      <td>0.076111</td>\n",
       "      <td>-0.094873</td>\n",
       "      <td>0.094684</td>\n",
       "      <td>0.146743</td>\n",
       "      <td>0.018195</td>\n",
       "      <td>-0.048992</td>\n",
       "      <td>0.118090</td>\n",
       "      <td>-0.069035</td>\n",
       "      <td>-0.270672</td>\n",
       "      <td>0.424329</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单占比</th>\n",
       "      <td>-0.005444</td>\n",
       "      <td>0.069616</td>\n",
       "      <td>-0.047722</td>\n",
       "      <td>-0.009087</td>\n",
       "      <td>0.020017</td>\n",
       "      <td>-0.085055</td>\n",
       "      <td>-0.110615</td>\n",
       "      <td>-0.002291</td>\n",
       "      <td>0.142133</td>\n",
       "      <td>-0.320271</td>\n",
       "      <td>0.181380</td>\n",
       "      <td>-0.036115</td>\n",
       "      <td>0.190403</td>\n",
       "      <td>0.295361</td>\n",
       "      <td>0.259450</td>\n",
       "      <td>-0.092757</td>\n",
       "      <td>-0.051193</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易量均值</th>\n",
       "      <td>0.014834</td>\n",
       "      <td>0.087542</td>\n",
       "      <td>0.043293</td>\n",
       "      <td>-0.067233</td>\n",
       "      <td>-0.021406</td>\n",
       "      <td>-0.079600</td>\n",
       "      <td>0.029721</td>\n",
       "      <td>-0.131459</td>\n",
       "      <td>0.028793</td>\n",
       "      <td>0.060305</td>\n",
       "      <td>-0.084125</td>\n",
       "      <td>0.033505</td>\n",
       "      <td>0.041263</td>\n",
       "      <td>0.003964</td>\n",
       "      <td>-0.005299</td>\n",
       "      <td>-0.050007</td>\n",
       "      <td>-0.092039</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易额均值</th>\n",
       "      <td>0.013086</td>\n",
       "      <td>0.064572</td>\n",
       "      <td>0.031020</td>\n",
       "      <td>-0.052923</td>\n",
       "      <td>-0.008616</td>\n",
       "      <td>-0.077132</td>\n",
       "      <td>0.034175</td>\n",
       "      <td>-0.114866</td>\n",
       "      <td>0.023321</td>\n",
       "      <td>0.062557</td>\n",
       "      <td>-0.065933</td>\n",
       "      <td>0.027518</td>\n",
       "      <td>0.063776</td>\n",
       "      <td>0.026911</td>\n",
       "      <td>-0.003422</td>\n",
       "      <td>-0.076796</td>\n",
       "      <td>-0.038130</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期合作时间（月）</th>\n",
       "      <td>-0.019068</td>\n",
       "      <td>0.009897</td>\n",
       "      <td>-0.000985</td>\n",
       "      <td>-0.033354</td>\n",
       "      <td>-0.068544</td>\n",
       "      <td>-0.070490</td>\n",
       "      <td>0.225408</td>\n",
       "      <td>0.238179</td>\n",
       "      <td>0.295329</td>\n",
       "      <td>-0.138668</td>\n",
       "      <td>0.072368</td>\n",
       "      <td>0.010095</td>\n",
       "      <td>0.254775</td>\n",
       "      <td>0.166716</td>\n",
       "      <td>0.125190</td>\n",
       "      <td>0.069153</td>\n",
       "      <td>0.216215</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>最近一笔账期订单（X月之前）</th>\n",
       "      <td>0.002103</td>\n",
       "      <td>-0.009808</td>\n",
       "      <td>0.004372</td>\n",
       "      <td>0.014787</td>\n",
       "      <td>-0.008165</td>\n",
       "      <td>-0.007927</td>\n",
       "      <td>0.028143</td>\n",
       "      <td>0.001514</td>\n",
       "      <td>0.034368</td>\n",
       "      <td>0.015604</td>\n",
       "      <td>-0.019008</td>\n",
       "      <td>0.016970</td>\n",
       "      <td>0.114417</td>\n",
       "      <td>0.010672</td>\n",
       "      <td>0.003945</td>\n",
       "      <td>0.023059</td>\n",
       "      <td>-0.007006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>采购频率（订单总数/合作月数）</th>\n",
       "      <td>0.051601</td>\n",
       "      <td>0.094122</td>\n",
       "      <td>-0.049726</td>\n",
       "      <td>-0.136751</td>\n",
       "      <td>0.044618</td>\n",
       "      <td>-0.038850</td>\n",
       "      <td>-0.008380</td>\n",
       "      <td>0.039709</td>\n",
       "      <td>0.021048</td>\n",
       "      <td>-0.064867</td>\n",
       "      <td>0.090638</td>\n",
       "      <td>-0.043569</td>\n",
       "      <td>-0.225611</td>\n",
       "      <td>0.020313</td>\n",
       "      <td>-0.030584</td>\n",
       "      <td>-0.095154</td>\n",
       "      <td>-0.072421</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>采购聚集程度（订单总数/供应商数）</th>\n",
       "      <td>0.017288</td>\n",
       "      <td>0.013915</td>\n",
       "      <td>-0.000607</td>\n",
       "      <td>-0.078506</td>\n",
       "      <td>0.018313</td>\n",
       "      <td>-0.009883</td>\n",
       "      <td>0.005353</td>\n",
       "      <td>0.017759</td>\n",
       "      <td>0.100233</td>\n",
       "      <td>-0.030605</td>\n",
       "      <td>0.083901</td>\n",
       "      <td>-0.097010</td>\n",
       "      <td>-0.015489</td>\n",
       "      <td>0.198729</td>\n",
       "      <td>0.012513</td>\n",
       "      <td>0.071084</td>\n",
       "      <td>0.090184</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>断档月数占比（断档总月数/合作时间）</th>\n",
       "      <td>-0.001859</td>\n",
       "      <td>-0.035560</td>\n",
       "      <td>0.040728</td>\n",
       "      <td>0.061379</td>\n",
       "      <td>-0.006653</td>\n",
       "      <td>-0.052471</td>\n",
       "      <td>0.119776</td>\n",
       "      <td>-0.055860</td>\n",
       "      <td>0.014045</td>\n",
       "      <td>0.129892</td>\n",
       "      <td>-0.025008</td>\n",
       "      <td>0.078860</td>\n",
       "      <td>0.346001</td>\n",
       "      <td>-0.082623</td>\n",
       "      <td>-0.101465</td>\n",
       "      <td>0.107616</td>\n",
       "      <td>-0.020061</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4天以内占比</th>\n",
       "      <td>-0.047887</td>\n",
       "      <td>0.043805</td>\n",
       "      <td>0.028202</td>\n",
       "      <td>0.060623</td>\n",
       "      <td>-0.070044</td>\n",
       "      <td>-0.219022</td>\n",
       "      <td>-0.022180</td>\n",
       "      <td>0.211895</td>\n",
       "      <td>-0.170346</td>\n",
       "      <td>-0.160459</td>\n",
       "      <td>-0.036724</td>\n",
       "      <td>-0.047762</td>\n",
       "      <td>0.154033</td>\n",
       "      <td>-0.006062</td>\n",
       "      <td>-0.121536</td>\n",
       "      <td>-0.068756</td>\n",
       "      <td>-0.141681</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5-10天占比</th>\n",
       "      <td>0.028534</td>\n",
       "      <td>0.011917</td>\n",
       "      <td>0.034014</td>\n",
       "      <td>-0.012343</td>\n",
       "      <td>-0.022238</td>\n",
       "      <td>-0.046427</td>\n",
       "      <td>-0.069714</td>\n",
       "      <td>0.069067</td>\n",
       "      <td>-0.057070</td>\n",
       "      <td>-0.036761</td>\n",
       "      <td>-0.048992</td>\n",
       "      <td>0.039686</td>\n",
       "      <td>0.045606</td>\n",
       "      <td>0.057893</td>\n",
       "      <td>0.027516</td>\n",
       "      <td>-0.071307</td>\n",
       "      <td>0.067329</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>提前还款占比</th>\n",
       "      <td>0.043230</td>\n",
       "      <td>-0.011174</td>\n",
       "      <td>-0.098769</td>\n",
       "      <td>-0.133518</td>\n",
       "      <td>0.077823</td>\n",
       "      <td>0.243210</td>\n",
       "      <td>0.096116</td>\n",
       "      <td>-0.251890</td>\n",
       "      <td>0.352661</td>\n",
       "      <td>0.192876</td>\n",
       "      <td>0.060069</td>\n",
       "      <td>-0.112019</td>\n",
       "      <td>0.040987</td>\n",
       "      <td>0.006236</td>\n",
       "      <td>0.092969</td>\n",
       "      <td>0.010660</td>\n",
       "      <td>0.249338</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册地址</th>\n",
       "      <td>0.053342</td>\n",
       "      <td>0.377028</td>\n",
       "      <td>-0.070969</td>\n",
       "      <td>-0.169482</td>\n",
       "      <td>-0.160243</td>\n",
       "      <td>0.552543</td>\n",
       "      <td>0.225161</td>\n",
       "      <td>-0.109505</td>\n",
       "      <td>-0.257120</td>\n",
       "      <td>-0.381556</td>\n",
       "      <td>-0.181380</td>\n",
       "      <td>0.158872</td>\n",
       "      <td>0.152559</td>\n",
       "      <td>-0.137171</td>\n",
       "      <td>0.086215</td>\n",
       "      <td>-0.085667</td>\n",
       "      <td>0.066939</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册资本变更</th>\n",
       "      <td>0.050143</td>\n",
       "      <td>0.008864</td>\n",
       "      <td>-0.043139</td>\n",
       "      <td>0.269909</td>\n",
       "      <td>-0.011589</td>\n",
       "      <td>0.051093</td>\n",
       "      <td>0.237719</td>\n",
       "      <td>0.044833</td>\n",
       "      <td>-0.259858</td>\n",
       "      <td>0.113969</td>\n",
       "      <td>0.470610</td>\n",
       "      <td>0.587591</td>\n",
       "      <td>-0.100042</td>\n",
       "      <td>0.132269</td>\n",
       "      <td>0.146923</td>\n",
       "      <td>0.026982</td>\n",
       "      <td>0.072686</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>法人变更</th>\n",
       "      <td>-0.030339</td>\n",
       "      <td>-0.039127</td>\n",
       "      <td>-0.013277</td>\n",
       "      <td>-0.012600</td>\n",
       "      <td>0.041753</td>\n",
       "      <td>0.054800</td>\n",
       "      <td>0.006849</td>\n",
       "      <td>-0.019341</td>\n",
       "      <td>-0.063737</td>\n",
       "      <td>-0.194230</td>\n",
       "      <td>-0.061838</td>\n",
       "      <td>-0.035272</td>\n",
       "      <td>0.119259</td>\n",
       "      <td>0.049567</td>\n",
       "      <td>0.202231</td>\n",
       "      <td>-0.062437</td>\n",
       "      <td>0.135346</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>分支机构</th>\n",
       "      <td>0.001337</td>\n",
       "      <td>0.034848</td>\n",
       "      <td>0.005739</td>\n",
       "      <td>0.144378</td>\n",
       "      <td>0.092691</td>\n",
       "      <td>0.098693</td>\n",
       "      <td>-0.195760</td>\n",
       "      <td>0.217955</td>\n",
       "      <td>0.231517</td>\n",
       "      <td>0.099435</td>\n",
       "      <td>-0.182082</td>\n",
       "      <td>0.284986</td>\n",
       "      <td>0.098534</td>\n",
       "      <td>-0.394606</td>\n",
       "      <td>-0.035319</td>\n",
       "      <td>-0.432084</td>\n",
       "      <td>0.233449</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>商标专利</th>\n",
       "      <td>-0.018921</td>\n",
       "      <td>0.416748</td>\n",
       "      <td>0.021677</td>\n",
       "      <td>-0.133914</td>\n",
       "      <td>0.162766</td>\n",
       "      <td>0.348212</td>\n",
       "      <td>-0.301472</td>\n",
       "      <td>0.319195</td>\n",
       "      <td>-0.071664</td>\n",
       "      <td>0.332809</td>\n",
       "      <td>0.167549</td>\n",
       "      <td>-0.049060</td>\n",
       "      <td>0.203731</td>\n",
       "      <td>0.266614</td>\n",
       "      <td>-0.287315</td>\n",
       "      <td>0.090179</td>\n",
       "      <td>-0.108372</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>场地租赁</th>\n",
       "      <td>0.067750</td>\n",
       "      <td>-0.055552</td>\n",
       "      <td>-0.585929</td>\n",
       "      <td>-0.157487</td>\n",
       "      <td>-0.080961</td>\n",
       "      <td>-0.048374</td>\n",
       "      <td>-0.020456</td>\n",
       "      <td>0.109202</td>\n",
       "      <td>-0.146782</td>\n",
       "      <td>0.172913</td>\n",
       "      <td>-0.123654</td>\n",
       "      <td>0.001244</td>\n",
       "      <td>0.059997</td>\n",
       "      <td>0.026983</td>\n",
       "      <td>0.096711</td>\n",
       "      <td>0.132242</td>\n",
       "      <td>-0.075240</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>场地自有</th>\n",
       "      <td>-0.063861</td>\n",
       "      <td>0.111507</td>\n",
       "      <td>0.544774</td>\n",
       "      <td>0.175079</td>\n",
       "      <td>0.028968</td>\n",
       "      <td>0.140994</td>\n",
       "      <td>-0.013288</td>\n",
       "      <td>-0.069361</td>\n",
       "      <td>0.201250</td>\n",
       "      <td>-0.193107</td>\n",
       "      <td>0.124634</td>\n",
       "      <td>0.073317</td>\n",
       "      <td>-0.085429</td>\n",
       "      <td>0.009902</td>\n",
       "      <td>-0.137991</td>\n",
       "      <td>0.178485</td>\n",
       "      <td>-0.145450</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>有无贷款</th>\n",
       "      <td>0.000610</td>\n",
       "      <td>0.297863</td>\n",
       "      <td>-0.201606</td>\n",
       "      <td>0.173994</td>\n",
       "      <td>-0.387950</td>\n",
       "      <td>-0.112885</td>\n",
       "      <td>-0.322738</td>\n",
       "      <td>0.015174</td>\n",
       "      <td>0.281643</td>\n",
       "      <td>-0.090927</td>\n",
       "      <td>-0.056914</td>\n",
       "      <td>0.220297</td>\n",
       "      <td>-0.163491</td>\n",
       "      <td>-0.092629</td>\n",
       "      <td>-0.039895</td>\n",
       "      <td>0.301893</td>\n",
       "      <td>0.079505</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>征信不良</th>\n",
       "      <td>-0.033085</td>\n",
       "      <td>0.022098</td>\n",
       "      <td>0.023588</td>\n",
       "      <td>0.051077</td>\n",
       "      <td>0.100709</td>\n",
       "      <td>-0.032473</td>\n",
       "      <td>-0.068062</td>\n",
       "      <td>0.112955</td>\n",
       "      <td>0.161521</td>\n",
       "      <td>-0.008979</td>\n",
       "      <td>-0.073289</td>\n",
       "      <td>0.120736</td>\n",
       "      <td>-0.075256</td>\n",
       "      <td>-0.161057</td>\n",
       "      <td>-0.041292</td>\n",
       "      <td>-0.100690</td>\n",
       "      <td>-0.022540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>征信关注</th>\n",
       "      <td>0.071351</td>\n",
       "      <td>0.014219</td>\n",
       "      <td>0.125619</td>\n",
       "      <td>-0.020631</td>\n",
       "      <td>-0.055871</td>\n",
       "      <td>0.023471</td>\n",
       "      <td>-0.238585</td>\n",
       "      <td>0.062690</td>\n",
       "      <td>0.046572</td>\n",
       "      <td>0.043789</td>\n",
       "      <td>-0.254136</td>\n",
       "      <td>0.205791</td>\n",
       "      <td>-0.097302</td>\n",
       "      <td>0.186201</td>\n",
       "      <td>0.446646</td>\n",
       "      <td>0.241047</td>\n",
       "      <td>-0.020417</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>征信欠息</th>\n",
       "      <td>0.153518</td>\n",
       "      <td>0.180373</td>\n",
       "      <td>-0.147431</td>\n",
       "      <td>-0.199891</td>\n",
       "      <td>0.138920</td>\n",
       "      <td>-0.244837</td>\n",
       "      <td>-0.023748</td>\n",
       "      <td>-0.120171</td>\n",
       "      <td>-0.040803</td>\n",
       "      <td>-0.187685</td>\n",
       "      <td>0.068730</td>\n",
       "      <td>0.164720</td>\n",
       "      <td>-0.012503</td>\n",
       "      <td>-0.100612</td>\n",
       "      <td>-0.373642</td>\n",
       "      <td>0.310090</td>\n",
       "      <td>0.221489</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>征信正常</th>\n",
       "      <td>-0.191175</td>\n",
       "      <td>0.081172</td>\n",
       "      <td>-0.203382</td>\n",
       "      <td>0.343439</td>\n",
       "      <td>-0.571708</td>\n",
       "      <td>0.140954</td>\n",
       "      <td>0.007658</td>\n",
       "      <td>-0.040301</td>\n",
       "      <td>0.114353</td>\n",
       "      <td>0.061948</td>\n",
       "      <td>0.201779</td>\n",
       "      <td>-0.270949</td>\n",
       "      <td>0.021570</td>\n",
       "      <td>-0.017160</td>\n",
       "      <td>-0.071607</td>\n",
       "      <td>-0.148554</td>\n",
       "      <td>-0.099026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>涉诉信息</th>\n",
       "      <td>0.265357</td>\n",
       "      <td>0.421044</td>\n",
       "      <td>-0.181068</td>\n",
       "      <td>0.563683</td>\n",
       "      <td>0.385681</td>\n",
       "      <td>-0.124535</td>\n",
       "      <td>0.279397</td>\n",
       "      <td>-0.028565</td>\n",
       "      <td>0.027174</td>\n",
       "      <td>0.033975</td>\n",
       "      <td>-0.191297</td>\n",
       "      <td>-0.180037</td>\n",
       "      <td>-0.089650</td>\n",
       "      <td>0.061796</td>\n",
       "      <td>0.083174</td>\n",
       "      <td>-0.016290</td>\n",
       "      <td>-0.086387</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>下游客户情况</th>\n",
       "      <td>-0.895371</td>\n",
       "      <td>0.141594</td>\n",
       "      <td>-0.171831</td>\n",
       "      <td>-0.000545</td>\n",
       "      <td>0.283118</td>\n",
       "      <td>-0.055777</td>\n",
       "      <td>0.078666</td>\n",
       "      <td>-0.050287</td>\n",
       "      <td>0.022308</td>\n",
       "      <td>-0.037106</td>\n",
       "      <td>-0.095599</td>\n",
       "      <td>0.104805</td>\n",
       "      <td>-0.061918</td>\n",
       "      <td>0.048641</td>\n",
       "      <td>0.033352</td>\n",
       "      <td>0.047719</td>\n",
       "      <td>-0.011299</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册时间</th>\n",
       "      <td>0.085083</td>\n",
       "      <td>0.107464</td>\n",
       "      <td>-0.034079</td>\n",
       "      <td>-0.061627</td>\n",
       "      <td>0.160224</td>\n",
       "      <td>0.010429</td>\n",
       "      <td>-0.202807</td>\n",
       "      <td>0.069163</td>\n",
       "      <td>0.126130</td>\n",
       "      <td>0.078964</td>\n",
       "      <td>0.001441</td>\n",
       "      <td>-0.014167</td>\n",
       "      <td>0.065597</td>\n",
       "      <td>-0.081181</td>\n",
       "      <td>0.247086</td>\n",
       "      <td>-0.023284</td>\n",
       "      <td>0.008739</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本</th>\n",
       "      <td>-0.079072</td>\n",
       "      <td>0.186054</td>\n",
       "      <td>0.108517</td>\n",
       "      <td>-0.043265</td>\n",
       "      <td>-0.013410</td>\n",
       "      <td>-0.144689</td>\n",
       "      <td>-0.023286</td>\n",
       "      <td>-0.024873</td>\n",
       "      <td>-0.222117</td>\n",
       "      <td>0.061858</td>\n",
       "      <td>0.136678</td>\n",
       "      <td>-0.118047</td>\n",
       "      <td>0.077820</td>\n",
       "      <td>-0.290132</td>\n",
       "      <td>0.082959</td>\n",
       "      <td>0.163687</td>\n",
       "      <td>0.166599</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>员工人数</th>\n",
       "      <td>-0.045517</td>\n",
       "      <td>0.195758</td>\n",
       "      <td>0.156690</td>\n",
       "      <td>0.014813</td>\n",
       "      <td>-0.072124</td>\n",
       "      <td>-0.075837</td>\n",
       "      <td>0.030689</td>\n",
       "      <td>-0.031725</td>\n",
       "      <td>-0.143267</td>\n",
       "      <td>0.076626</td>\n",
       "      <td>-0.000979</td>\n",
       "      <td>-0.254977</td>\n",
       "      <td>-0.053463</td>\n",
       "      <td>-0.118329</td>\n",
       "      <td>0.167761</td>\n",
       "      <td>0.041913</td>\n",
       "      <td>0.191306</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>厂房面积</th>\n",
       "      <td>-0.091562</td>\n",
       "      <td>0.144181</td>\n",
       "      <td>0.165522</td>\n",
       "      <td>-0.072579</td>\n",
       "      <td>-0.113126</td>\n",
       "      <td>-0.061200</td>\n",
       "      <td>-0.004891</td>\n",
       "      <td>-0.045930</td>\n",
       "      <td>-0.182814</td>\n",
       "      <td>0.078989</td>\n",
       "      <td>-0.034344</td>\n",
       "      <td>-0.153236</td>\n",
       "      <td>-0.040777</td>\n",
       "      <td>-0.086996</td>\n",
       "      <td>0.167774</td>\n",
       "      <td>0.045165</td>\n",
       "      <td>0.201569</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>资产负债率</th>\n",
       "      <td>0.028301</td>\n",
       "      <td>0.018554</td>\n",
       "      <td>0.047144</td>\n",
       "      <td>0.042722</td>\n",
       "      <td>-0.060621</td>\n",
       "      <td>0.037216</td>\n",
       "      <td>0.048850</td>\n",
       "      <td>-0.048276</td>\n",
       "      <td>-0.001155</td>\n",
       "      <td>-0.040489</td>\n",
       "      <td>-0.362446</td>\n",
       "      <td>-0.015647</td>\n",
       "      <td>-0.166869</td>\n",
       "      <td>0.350936</td>\n",
       "      <td>-0.306763</td>\n",
       "      <td>-0.048760</td>\n",
       "      <td>0.291209</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>流动比率</th>\n",
       "      <td>-0.010893</td>\n",
       "      <td>-0.022901</td>\n",
       "      <td>-0.029621</td>\n",
       "      <td>0.006459</td>\n",
       "      <td>0.006437</td>\n",
       "      <td>-0.031793</td>\n",
       "      <td>0.002508</td>\n",
       "      <td>0.006768</td>\n",
       "      <td>-0.007078</td>\n",
       "      <td>0.008847</td>\n",
       "      <td>0.130273</td>\n",
       "      <td>0.061599</td>\n",
       "      <td>0.050187</td>\n",
       "      <td>-0.116058</td>\n",
       "      <td>0.116682</td>\n",
       "      <td>0.102996</td>\n",
       "      <td>-0.118158</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产</th>\n",
       "      <td>0.035084</td>\n",
       "      <td>0.141900</td>\n",
       "      <td>0.021341</td>\n",
       "      <td>-0.062307</td>\n",
       "      <td>0.112534</td>\n",
       "      <td>-0.114993</td>\n",
       "      <td>-0.118836</td>\n",
       "      <td>-0.039159</td>\n",
       "      <td>0.051121</td>\n",
       "      <td>0.047636</td>\n",
       "      <td>0.260653</td>\n",
       "      <td>-0.075664</td>\n",
       "      <td>0.044999</td>\n",
       "      <td>-0.209519</td>\n",
       "      <td>0.174009</td>\n",
       "      <td>-0.068871</td>\n",
       "      <td>0.022723</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>货币资金</th>\n",
       "      <td>0.039161</td>\n",
       "      <td>0.064938</td>\n",
       "      <td>0.035145</td>\n",
       "      <td>0.095447</td>\n",
       "      <td>0.010215</td>\n",
       "      <td>0.011892</td>\n",
       "      <td>0.033590</td>\n",
       "      <td>-0.017470</td>\n",
       "      <td>-0.067610</td>\n",
       "      <td>0.037402</td>\n",
       "      <td>-0.012586</td>\n",
       "      <td>-0.099935</td>\n",
       "      <td>0.048908</td>\n",
       "      <td>0.027893</td>\n",
       "      <td>0.095220</td>\n",
       "      <td>0.069258</td>\n",
       "      <td>0.036634</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>存货周转天数</th>\n",
       "      <td>0.001318</td>\n",
       "      <td>0.011251</td>\n",
       "      <td>0.022052</td>\n",
       "      <td>-0.000098</td>\n",
       "      <td>0.030121</td>\n",
       "      <td>-0.016646</td>\n",
       "      <td>-0.020621</td>\n",
       "      <td>0.002929</td>\n",
       "      <td>-0.078029</td>\n",
       "      <td>0.012252</td>\n",
       "      <td>0.023489</td>\n",
       "      <td>0.006243</td>\n",
       "      <td>0.028124</td>\n",
       "      <td>0.038394</td>\n",
       "      <td>0.081771</td>\n",
       "      <td>-0.047360</td>\n",
       "      <td>0.007059</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收账款周转天数</th>\n",
       "      <td>0.008756</td>\n",
       "      <td>-0.026634</td>\n",
       "      <td>-0.016688</td>\n",
       "      <td>-0.004713</td>\n",
       "      <td>-0.101478</td>\n",
       "      <td>-0.076023</td>\n",
       "      <td>0.126416</td>\n",
       "      <td>-0.112983</td>\n",
       "      <td>-0.027705</td>\n",
       "      <td>0.046740</td>\n",
       "      <td>0.064786</td>\n",
       "      <td>-0.002365</td>\n",
       "      <td>-0.057782</td>\n",
       "      <td>-0.091752</td>\n",
       "      <td>-0.138431</td>\n",
       "      <td>0.032873</td>\n",
       "      <td>0.108148</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>主营业务利润率</th>\n",
       "      <td>-0.009265</td>\n",
       "      <td>0.068771</td>\n",
       "      <td>0.029176</td>\n",
       "      <td>0.094383</td>\n",
       "      <td>0.018535</td>\n",
       "      <td>0.014382</td>\n",
       "      <td>-0.088270</td>\n",
       "      <td>0.033463</td>\n",
       "      <td>-0.034542</td>\n",
       "      <td>0.043192</td>\n",
       "      <td>0.140658</td>\n",
       "      <td>-0.227406</td>\n",
       "      <td>0.046440</td>\n",
       "      <td>0.084840</td>\n",
       "      <td>-0.032518</td>\n",
       "      <td>-0.018467</td>\n",
       "      <td>0.197260</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产增长率</th>\n",
       "      <td>-0.025751</td>\n",
       "      <td>0.020123</td>\n",
       "      <td>-0.005882</td>\n",
       "      <td>-0.008144</td>\n",
       "      <td>-0.025580</td>\n",
       "      <td>-0.045394</td>\n",
       "      <td>0.015096</td>\n",
       "      <td>0.004686</td>\n",
       "      <td>-0.048565</td>\n",
       "      <td>0.109231</td>\n",
       "      <td>0.088697</td>\n",
       "      <td>0.115258</td>\n",
       "      <td>-0.076150</td>\n",
       "      <td>0.123862</td>\n",
       "      <td>-0.055671</td>\n",
       "      <td>-0.083276</td>\n",
       "      <td>0.100264</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>销售增长率</th>\n",
       "      <td>0.009205</td>\n",
       "      <td>-0.017535</td>\n",
       "      <td>0.005538</td>\n",
       "      <td>-0.000682</td>\n",
       "      <td>-0.026317</td>\n",
       "      <td>0.010055</td>\n",
       "      <td>0.025741</td>\n",
       "      <td>-0.017590</td>\n",
       "      <td>0.030199</td>\n",
       "      <td>-0.041744</td>\n",
       "      <td>0.041503</td>\n",
       "      <td>0.029909</td>\n",
       "      <td>-0.055273</td>\n",
       "      <td>-0.014715</td>\n",
       "      <td>-0.039181</td>\n",
       "      <td>-0.013781</td>\n",
       "      <td>-0.021012</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>当地经济环境</th>\n",
       "      <td>-0.072123</td>\n",
       "      <td>-0.113706</td>\n",
       "      <td>0.159680</td>\n",
       "      <td>0.151275</td>\n",
       "      <td>-0.095964</td>\n",
       "      <td>0.065507</td>\n",
       "      <td>0.040537</td>\n",
       "      <td>0.232744</td>\n",
       "      <td>-0.180455</td>\n",
       "      <td>0.252730</td>\n",
       "      <td>-0.261084</td>\n",
       "      <td>0.007374</td>\n",
       "      <td>-0.085175</td>\n",
       "      <td>0.025381</td>\n",
       "      <td>0.094901</td>\n",
       "      <td>0.247847</td>\n",
       "      <td>0.170747</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>撮合单数</th>\n",
       "      <td>0.025270</td>\n",
       "      <td>-0.031840</td>\n",
       "      <td>0.004647</td>\n",
       "      <td>-0.093110</td>\n",
       "      <td>0.018275</td>\n",
       "      <td>0.176390</td>\n",
       "      <td>0.160516</td>\n",
       "      <td>0.169084</td>\n",
       "      <td>-0.035132</td>\n",
       "      <td>0.074938</td>\n",
       "      <td>-0.007700</td>\n",
       "      <td>-0.049510</td>\n",
       "      <td>-0.149694</td>\n",
       "      <td>-0.120656</td>\n",
       "      <td>-0.019714</td>\n",
       "      <td>0.009244</td>\n",
       "      <td>-0.295396</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>62 rows × 17 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                          0         1         2         3         4   \\\n",
       "订单总数                0.019586  0.051055 -0.008486 -0.132866 -0.016745   \n",
       "合作时间（月）            -0.016278 -0.007721  0.045356 -0.044560 -0.073924   \n",
       "最近交易（X月之前）          0.004314 -0.012413  0.012951  0.017269 -0.003352   \n",
       "最近连续交易月数            0.013145  0.014177  0.001936 -0.106173 -0.009882   \n",
       "采购断档总月数            -0.000405 -0.024231  0.039951  0.049342 -0.016256   \n",
       "订单时间间隔均值（天）         0.002611 -0.014566  0.018100  0.022484  0.002762   \n",
       "订单时间间隔方差（天）        -0.003323 -0.020943  0.033402  0.034563 -0.006158   \n",
       "交易总量                0.022865  0.144054  0.010315 -0.166634 -0.038258   \n",
       "交易量最大值             -0.014886  0.155367  0.120808 -0.122284 -0.162167   \n",
       "交易量最小值              0.005679 -0.019634 -0.024918  0.051201  0.012745   \n",
       "交易量方差               0.005106  0.093753  0.069151 -0.069508 -0.082109   \n",
       "交易量均值               0.017572  0.187414  0.052417 -0.130531 -0.067733   \n",
       "交易额总量               0.021970  0.131112 -0.003731 -0.157453 -0.027542   \n",
       "交易额最大值             -0.011073  0.159853  0.107836 -0.138434 -0.152475   \n",
       "交易额最小值             -0.002989 -0.038949 -0.037667  0.066260  0.024558   \n",
       "交易额方差               0.006383  0.085579  0.060176 -0.066389 -0.073610   \n",
       "交易额均值               0.008320  0.093517  0.016050 -0.069278 -0.026030   \n",
       "交易稳定性（近三个月交易量变化均值）  0.001147  0.009731  0.000317 -0.009774 -0.003301   \n",
       "供应商数量              -0.006452  0.038890  0.008409 -0.079477 -0.034504   \n",
       "采购产品种类数量           -0.014834 -0.033540 -0.007802  0.016896  0.007818   \n",
       "账期订单占比             -0.005444  0.069616 -0.047722 -0.009087  0.020017   \n",
       "账期订单交易量均值           0.014834  0.087542  0.043293 -0.067233 -0.021406   \n",
       "账期订单交易额均值           0.013086  0.064572  0.031020 -0.052923 -0.008616   \n",
       "账期合作时间（月）          -0.019068  0.009897 -0.000985 -0.033354 -0.068544   \n",
       "最近一笔账期订单（X月之前）      0.002103 -0.009808  0.004372  0.014787 -0.008165   \n",
       "采购频率（订单总数/合作月数）     0.051601  0.094122 -0.049726 -0.136751  0.044618   \n",
       "采购聚集程度（订单总数/供应商数）   0.017288  0.013915 -0.000607 -0.078506  0.018313   \n",
       "断档月数占比（断档总月数/合作时间） -0.001859 -0.035560  0.040728  0.061379 -0.006653   \n",
       "4天以内占比             -0.047887  0.043805  0.028202  0.060623 -0.070044   \n",
       "5-10天占比             0.028534  0.011917  0.034014 -0.012343 -0.022238   \n",
       "...                      ...       ...       ...       ...       ...   \n",
       "提前还款占比              0.043230 -0.011174 -0.098769 -0.133518  0.077823   \n",
       "注册地址                0.053342  0.377028 -0.070969 -0.169482 -0.160243   \n",
       "注册资本变更              0.050143  0.008864 -0.043139  0.269909 -0.011589   \n",
       "法人变更               -0.030339 -0.039127 -0.013277 -0.012600  0.041753   \n",
       "分支机构                0.001337  0.034848  0.005739  0.144378  0.092691   \n",
       "商标专利               -0.018921  0.416748  0.021677 -0.133914  0.162766   \n",
       "场地租赁                0.067750 -0.055552 -0.585929 -0.157487 -0.080961   \n",
       "场地自有               -0.063861  0.111507  0.544774  0.175079  0.028968   \n",
       "有无贷款                0.000610  0.297863 -0.201606  0.173994 -0.387950   \n",
       "征信不良               -0.033085  0.022098  0.023588  0.051077  0.100709   \n",
       "征信关注                0.071351  0.014219  0.125619 -0.020631 -0.055871   \n",
       "征信欠息                0.153518  0.180373 -0.147431 -0.199891  0.138920   \n",
       "征信正常               -0.191175  0.081172 -0.203382  0.343439 -0.571708   \n",
       "涉诉信息                0.265357  0.421044 -0.181068  0.563683  0.385681   \n",
       "下游客户情况             -0.895371  0.141594 -0.171831 -0.000545  0.283118   \n",
       "注册时间                0.085083  0.107464 -0.034079 -0.061627  0.160224   \n",
       "实收资本               -0.079072  0.186054  0.108517 -0.043265 -0.013410   \n",
       "员工人数               -0.045517  0.195758  0.156690  0.014813 -0.072124   \n",
       "厂房面积               -0.091562  0.144181  0.165522 -0.072579 -0.113126   \n",
       "资产负债率               0.028301  0.018554  0.047144  0.042722 -0.060621   \n",
       "流动比率               -0.010893 -0.022901 -0.029621  0.006459  0.006437   \n",
       "净资产                 0.035084  0.141900  0.021341 -0.062307  0.112534   \n",
       "货币资金                0.039161  0.064938  0.035145  0.095447  0.010215   \n",
       "存货周转天数              0.001318  0.011251  0.022052 -0.000098  0.030121   \n",
       "应收账款周转天数            0.008756 -0.026634 -0.016688 -0.004713 -0.101478   \n",
       "主营业务利润率            -0.009265  0.068771  0.029176  0.094383  0.018535   \n",
       "净资产增长率             -0.025751  0.020123 -0.005882 -0.008144 -0.025580   \n",
       "销售增长率               0.009205 -0.017535  0.005538 -0.000682 -0.026317   \n",
       "当地经济环境             -0.072123 -0.113706  0.159680  0.151275 -0.095964   \n",
       "撮合单数                0.025270 -0.031840  0.004647 -0.093110  0.018275   \n",
       "\n",
       "                          5         6         7         8         9   \\\n",
       "订单总数               -0.008379  0.182515  0.220083  0.126914 -0.017803   \n",
       "合作时间（月）            -0.031040  0.301912  0.221518  0.227412  0.031599   \n",
       "最近交易（X月之前）         -0.014430  0.039719 -0.030189  0.044545  0.048685   \n",
       "最近连续交易月数            0.045721  0.092697  0.206878  0.042446 -0.022431   \n",
       "采购断档总月数            -0.060261  0.150459 -0.044635  0.069382  0.117332   \n",
       "订单时间间隔均值（天）        -0.015984  0.040864 -0.046527  0.011026  0.055371   \n",
       "订单时间间隔方差（天）        -0.020585  0.071482 -0.022366  0.024203  0.079844   \n",
       "交易总量               -0.111759  0.130275  0.086234  0.096232 -0.045024   \n",
       "交易量最大值             -0.103447  0.084046 -0.055894  0.026966  0.169114   \n",
       "交易量最小值              0.008279 -0.043194 -0.109119  0.013044 -0.021302   \n",
       "交易量方差              -0.081380  0.031102 -0.094665 -0.002652  0.141522   \n",
       "交易量均值              -0.150388  0.016340 -0.198548  0.007547  0.082907   \n",
       "交易额总量              -0.120933  0.127301  0.090616  0.099337 -0.034399   \n",
       "交易额最大值             -0.146728  0.103725 -0.056992  0.053152  0.221059   \n",
       "交易额最小值              0.002686 -0.057624 -0.114498 -0.020686 -0.003945   \n",
       "交易额方差              -0.094829  0.040407 -0.100478  0.010082  0.178651   \n",
       "交易额均值              -0.099212  0.012349 -0.106903 -0.001907  0.064896   \n",
       "交易稳定性（近三个月交易量变化均值） -0.008460 -0.001241  0.000280 -0.000436  0.012456   \n",
       "供应商数量              -0.035562  0.262644  0.329828  0.083968 -0.000802   \n",
       "采购产品种类数量           -0.041061 -0.009149  0.076111 -0.094873  0.094684   \n",
       "账期订单占比             -0.085055 -0.110615 -0.002291  0.142133 -0.320271   \n",
       "账期订单交易量均值          -0.079600  0.029721 -0.131459  0.028793  0.060305   \n",
       "账期订单交易额均值          -0.077132  0.034175 -0.114866  0.023321  0.062557   \n",
       "账期合作时间（月）          -0.070490  0.225408  0.238179  0.295329 -0.138668   \n",
       "最近一笔账期订单（X月之前）     -0.007927  0.028143  0.001514  0.034368  0.015604   \n",
       "采购频率（订单总数/合作月数）    -0.038850 -0.008380  0.039709  0.021048 -0.064867   \n",
       "采购聚集程度（订单总数/供应商数）  -0.009883  0.005353  0.017759  0.100233 -0.030605   \n",
       "断档月数占比（断档总月数/合作时间） -0.052471  0.119776 -0.055860  0.014045  0.129892   \n",
       "4天以内占比             -0.219022 -0.022180  0.211895 -0.170346 -0.160459   \n",
       "5-10天占比            -0.046427 -0.069714  0.069067 -0.057070 -0.036761   \n",
       "...                      ...       ...       ...       ...       ...   \n",
       "提前还款占比              0.243210  0.096116 -0.251890  0.352661  0.192876   \n",
       "注册地址                0.552543  0.225161 -0.109505 -0.257120 -0.381556   \n",
       "注册资本变更              0.051093  0.237719  0.044833 -0.259858  0.113969   \n",
       "法人变更                0.054800  0.006849 -0.019341 -0.063737 -0.194230   \n",
       "分支机构                0.098693 -0.195760  0.217955  0.231517  0.099435   \n",
       "商标专利                0.348212 -0.301472  0.319195 -0.071664  0.332809   \n",
       "场地租赁               -0.048374 -0.020456  0.109202 -0.146782  0.172913   \n",
       "场地自有                0.140994 -0.013288 -0.069361  0.201250 -0.193107   \n",
       "有无贷款               -0.112885 -0.322738  0.015174  0.281643 -0.090927   \n",
       "征信不良               -0.032473 -0.068062  0.112955  0.161521 -0.008979   \n",
       "征信关注                0.023471 -0.238585  0.062690  0.046572  0.043789   \n",
       "征信欠息               -0.244837 -0.023748 -0.120171 -0.040803 -0.187685   \n",
       "征信正常                0.140954  0.007658 -0.040301  0.114353  0.061948   \n",
       "涉诉信息               -0.124535  0.279397 -0.028565  0.027174  0.033975   \n",
       "下游客户情况             -0.055777  0.078666 -0.050287  0.022308 -0.037106   \n",
       "注册时间                0.010429 -0.202807  0.069163  0.126130  0.078964   \n",
       "实收资本               -0.144689 -0.023286 -0.024873 -0.222117  0.061858   \n",
       "员工人数               -0.075837  0.030689 -0.031725 -0.143267  0.076626   \n",
       "厂房面积               -0.061200 -0.004891 -0.045930 -0.182814  0.078989   \n",
       "资产负债率               0.037216  0.048850 -0.048276 -0.001155 -0.040489   \n",
       "流动比率               -0.031793  0.002508  0.006768 -0.007078  0.008847   \n",
       "净资产                -0.114993 -0.118836 -0.039159  0.051121  0.047636   \n",
       "货币资金                0.011892  0.033590 -0.017470 -0.067610  0.037402   \n",
       "存货周转天数             -0.016646 -0.020621  0.002929 -0.078029  0.012252   \n",
       "应收账款周转天数           -0.076023  0.126416 -0.112983 -0.027705  0.046740   \n",
       "主营业务利润率             0.014382 -0.088270  0.033463 -0.034542  0.043192   \n",
       "净资产增长率             -0.045394  0.015096  0.004686 -0.048565  0.109231   \n",
       "销售增长率               0.010055  0.025741 -0.017590  0.030199 -0.041744   \n",
       "当地经济环境              0.065507  0.040537  0.232744 -0.180455  0.252730   \n",
       "撮合单数                0.176390  0.160516  0.169084 -0.035132  0.074938   \n",
       "\n",
       "                          10        11        12        13        14  \\\n",
       "订单总数                0.041052 -0.051816 -0.120253  0.013608  0.006205   \n",
       "合作时间（月）            -0.046914 -0.001586  0.200444  0.025089  0.004056   \n",
       "最近交易（X月之前）         -0.051053  0.020831  0.137947 -0.003067 -0.017770   \n",
       "最近连续交易月数            0.038454 -0.044333 -0.225364  0.048684  0.050765   \n",
       "采购断档总月数            -0.050058  0.069190  0.375289 -0.039102 -0.073856   \n",
       "订单时间间隔均值（天）        -0.041915  0.021609  0.122050 -0.012305 -0.025236   \n",
       "订单时间间隔方差（天）        -0.030488  0.059365  0.213670 -0.049279 -0.048042   \n",
       "交易总量                0.048384 -0.009833 -0.102378  0.010911  0.021496   \n",
       "交易量最大值             -0.089371  0.064063 -0.016266  0.058606  0.072834   \n",
       "交易量最小值             -0.045712  0.056103  0.045020  0.107203 -0.013909   \n",
       "交易量方差              -0.061169  0.060274  0.010907  0.015935  0.001148   \n",
       "交易量均值              -0.064530  0.083749 -0.022816  0.014974  0.004912   \n",
       "交易额总量               0.071554  0.003976 -0.090635  0.056109  0.018581   \n",
       "交易额最大值             -0.046387  0.115775 -0.000662  0.144998  0.058575   \n",
       "交易额最小值             -0.016434  0.055239  0.068901  0.172189  0.016915   \n",
       "交易额方差              -0.045604  0.094893  0.027156  0.060235 -0.019153   \n",
       "交易额均值              -0.008212  0.061174  0.010731  0.062035  0.007950   \n",
       "交易稳定性（近三个月交易量变化均值）  0.005161 -0.005833 -0.008348 -0.019841 -0.011003   \n",
       "供应商数量              -0.016786 -0.005038 -0.161312 -0.193032 -0.018732   \n",
       "采购产品种类数量            0.146743  0.018195 -0.048992  0.118090 -0.069035   \n",
       "账期订单占比              0.181380 -0.036115  0.190403  0.295361  0.259450   \n",
       "账期订单交易量均值          -0.084125  0.033505  0.041263  0.003964 -0.005299   \n",
       "账期订单交易额均值          -0.065933  0.027518  0.063776  0.026911 -0.003422   \n",
       "账期合作时间（月）           0.072368  0.010095  0.254775  0.166716  0.125190   \n",
       "最近一笔账期订单（X月之前）     -0.019008  0.016970  0.114417  0.010672  0.003945   \n",
       "采购频率（订单总数/合作月数）     0.090638 -0.043569 -0.225611  0.020313 -0.030584   \n",
       "采购聚集程度（订单总数/供应商数）   0.083901 -0.097010 -0.015489  0.198729  0.012513   \n",
       "断档月数占比（断档总月数/合作时间） -0.025008  0.078860  0.346001 -0.082623 -0.101465   \n",
       "4天以内占比             -0.036724 -0.047762  0.154033 -0.006062 -0.121536   \n",
       "5-10天占比            -0.048992  0.039686  0.045606  0.057893  0.027516   \n",
       "...                      ...       ...       ...       ...       ...   \n",
       "提前还款占比              0.060069 -0.112019  0.040987  0.006236  0.092969   \n",
       "注册地址               -0.181380  0.158872  0.152559 -0.137171  0.086215   \n",
       "注册资本变更              0.470610  0.587591 -0.100042  0.132269  0.146923   \n",
       "法人变更               -0.061838 -0.035272  0.119259  0.049567  0.202231   \n",
       "分支机构               -0.182082  0.284986  0.098534 -0.394606 -0.035319   \n",
       "商标专利                0.167549 -0.049060  0.203731  0.266614 -0.287315   \n",
       "场地租赁               -0.123654  0.001244  0.059997  0.026983  0.096711   \n",
       "场地自有                0.124634  0.073317 -0.085429  0.009902 -0.137991   \n",
       "有无贷款               -0.056914  0.220297 -0.163491 -0.092629 -0.039895   \n",
       "征信不良               -0.073289  0.120736 -0.075256 -0.161057 -0.041292   \n",
       "征信关注               -0.254136  0.205791 -0.097302  0.186201  0.446646   \n",
       "征信欠息                0.068730  0.164720 -0.012503 -0.100612 -0.373642   \n",
       "征信正常                0.201779 -0.270949  0.021570 -0.017160 -0.071607   \n",
       "涉诉信息               -0.191297 -0.180037 -0.089650  0.061796  0.083174   \n",
       "下游客户情况             -0.095599  0.104805 -0.061918  0.048641  0.033352   \n",
       "注册时间                0.001441 -0.014167  0.065597 -0.081181  0.247086   \n",
       "实收资本                0.136678 -0.118047  0.077820 -0.290132  0.082959   \n",
       "员工人数               -0.000979 -0.254977 -0.053463 -0.118329  0.167761   \n",
       "厂房面积               -0.034344 -0.153236 -0.040777 -0.086996  0.167774   \n",
       "资产负债率              -0.362446 -0.015647 -0.166869  0.350936 -0.306763   \n",
       "流动比率                0.130273  0.061599  0.050187 -0.116058  0.116682   \n",
       "净资产                 0.260653 -0.075664  0.044999 -0.209519  0.174009   \n",
       "货币资金               -0.012586 -0.099935  0.048908  0.027893  0.095220   \n",
       "存货周转天数              0.023489  0.006243  0.028124  0.038394  0.081771   \n",
       "应收账款周转天数            0.064786 -0.002365 -0.057782 -0.091752 -0.138431   \n",
       "主营业务利润率             0.140658 -0.227406  0.046440  0.084840 -0.032518   \n",
       "净资产增长率              0.088697  0.115258 -0.076150  0.123862 -0.055671   \n",
       "销售增长率               0.041503  0.029909 -0.055273 -0.014715 -0.039181   \n",
       "当地经济环境             -0.261084  0.007374 -0.085175  0.025381  0.094901   \n",
       "撮合单数               -0.007700 -0.049510 -0.149694 -0.120656 -0.019714   \n",
       "\n",
       "                          15        16  \n",
       "订单总数                0.020100 -0.030802  \n",
       "合作时间（月）             0.167716  0.087168  \n",
       "最近交易（X月之前）          0.022231 -0.044893  \n",
       "最近连续交易月数            0.011286 -0.052999  \n",
       "采购断档总月数             0.140743 -0.027262  \n",
       "订单时间间隔均值（天）         0.021532 -0.040305  \n",
       "订单时间间隔方差（天）         0.068002 -0.030457  \n",
       "交易总量               -0.043426 -0.010738  \n",
       "交易量最大值             -0.089975 -0.103946  \n",
       "交易量最小值             -0.076184 -0.084558  \n",
       "交易量方差              -0.067036 -0.115137  \n",
       "交易量均值              -0.111435 -0.125048  \n",
       "交易额总量              -0.070745  0.050544  \n",
       "交易额最大值             -0.189487 -0.044729  \n",
       "交易额最小值             -0.128584 -0.004836  \n",
       "交易额方差              -0.120776 -0.096227  \n",
       "交易额均值              -0.121568 -0.007266  \n",
       "交易稳定性（近三个月交易量变化均值）  0.002720 -0.011965  \n",
       "供应商数量              -0.060277 -0.027099  \n",
       "采购产品种类数量           -0.270672  0.424329  \n",
       "账期订单占比             -0.092757 -0.051193  \n",
       "账期订单交易量均值          -0.050007 -0.092039  \n",
       "账期订单交易额均值          -0.076796 -0.038130  \n",
       "账期合作时间（月）           0.069153  0.216215  \n",
       "最近一笔账期订单（X月之前）      0.023059 -0.007006  \n",
       "采购频率（订单总数/合作月数）    -0.095154 -0.072421  \n",
       "采购聚集程度（订单总数/供应商数）   0.071084  0.090184  \n",
       "断档月数占比（断档总月数/合作时间）  0.107616 -0.020061  \n",
       "4天以内占比             -0.068756 -0.141681  \n",
       "5-10天占比            -0.071307  0.067329  \n",
       "...                      ...       ...  \n",
       "提前还款占比              0.010660  0.249338  \n",
       "注册地址               -0.085667  0.066939  \n",
       "注册资本变更              0.026982  0.072686  \n",
       "法人变更               -0.062437  0.135346  \n",
       "分支机构               -0.432084  0.233449  \n",
       "商标专利                0.090179 -0.108372  \n",
       "场地租赁                0.132242 -0.075240  \n",
       "场地自有                0.178485 -0.145450  \n",
       "有无贷款                0.301893  0.079505  \n",
       "征信不良               -0.100690 -0.022540  \n",
       "征信关注                0.241047 -0.020417  \n",
       "征信欠息                0.310090  0.221489  \n",
       "征信正常               -0.148554 -0.099026  \n",
       "涉诉信息               -0.016290 -0.086387  \n",
       "下游客户情况              0.047719 -0.011299  \n",
       "注册时间               -0.023284  0.008739  \n",
       "实收资本                0.163687  0.166599  \n",
       "员工人数                0.041913  0.191306  \n",
       "厂房面积                0.045165  0.201569  \n",
       "资产负债率              -0.048760  0.291209  \n",
       "流动比率                0.102996 -0.118158  \n",
       "净资产                -0.068871  0.022723  \n",
       "货币资金                0.069258  0.036634  \n",
       "存货周转天数             -0.047360  0.007059  \n",
       "应收账款周转天数            0.032873  0.108148  \n",
       "主营业务利润率            -0.018467  0.197260  \n",
       "净资产增长率             -0.083276  0.100264  \n",
       "销售增长率              -0.013781 -0.021012  \n",
       "当地经济环境              0.247847  0.170747  \n",
       "撮合单数                0.009244 -0.295396  \n",
       "\n",
       "[62 rows x 17 columns]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.DataFrame(pca.components_,columns=data.columns[:-1]).T.to_csv('./data/pac_component_samples.csv')\n",
    "pd.DataFrame(pca.components_,columns=data.columns[:-1]).T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 170,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{5: 0.75570721115289263, 6: 0.7880364163187733, 7: 0.81897075247917095, 8: 0.8407427869230073, 9: 0.86090881993548807, 10: 0.87794011062698429, 11: 0.89266127475047441, 12: 0.90523717443536622, 13: 0.91682935412714417, 14: 0.92742290399988336, 15: 0.93638019120572624, 16: 0.94455550014225975, 17: 0.95152258952817903, 18: 0.95745708700462839, 19: 0.96285516395339743, 20: 0.96743608069562115, 21: 0.97129342371910421, 22: 0.97487884972473349, 23: 0.9777520762726386, 24: 0.98050814610176029}\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877,0.00458091674222\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877,0.00458091674222,0.00385734302348\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877,0.00458091674222,0.00385734302348,0.00358542600563\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877,0.00458091674222,0.00385734302348,0.00358542600563,0.00287322654791\n",
      "0.377660730841,0.193068289713,0.0820233618109,0.0589991239743,0.0439557048138,0.0323292051659,0.0309343361604,0.0217720344438,0.0201660330125,0.0170312906915,0.0147211641235,0.0125758996849,0.0115921796918,0.0105935498727,0.00895728720584,0.00817530893653,0.00696708938592,0.00593449747645,0.00539807694877,0.00458091674222,0.00385734302348,0.00358542600563,0.00287322654791,0.00275606982912\n"
     ]
    }
   ],
   "source": [
    "def pca(data,n_com):\n",
    "    data = data.fillna(0)\n",
    "    pca = PCA(n_components=n_com)\n",
    "    data_pca = pca.fit_transform(data.iloc[:,:-1])\n",
    "    tmp = pca.explained_variance_ratio_\n",
    "    sum = pd.DataFrame(tmp).sum()[0]\n",
    "    array = tmp\n",
    "    return sum,array\n",
    "\n",
    "sum_dic = {}\n",
    "arrays = []\n",
    "for i in xrange(5,25):\n",
    "    tmp = pca(data,i)\n",
    "    sum_dic[i] = tmp[0]\n",
    "    arrays.append(list(tmp[1]))\n",
    "        \n",
    "print sum_dic\n",
    "for a in arrays:\n",
    "    print ','.join([str(i) for i in a])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### spss因子分析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "交易额总量                 6.225961e+06\n",
       "交易额最大值                4.971326e+05\n",
       "账期订单交易额均值             2.588724e+05\n",
       "交易额均值                 1.984433e+05\n",
       "交易额方差                 1.626833e+05\n",
       "交易额最小值                7.652564e+04\n",
       "厂房面积                  3.089440e+04\n",
       "净资产                   1.081957e+03\n",
       "交易总量                  1.000533e+03\n",
       "实收资本                  9.335162e+02\n",
       "流动比率                  2.879265e+02\n",
       "货币资金                  2.612612e+02\n",
       "净资产增长率                1.424062e+02\n",
       "员工人数                  1.300615e+02\n",
       "存货周转天数                1.016966e+02\n",
       "交易量最大值                8.755084e+01\n",
       "销售增长率                 5.948694e+01\n",
       "应收账款周转天数              5.627565e+01\n",
       "账期订单交易量均值             4.136927e+01\n",
       "交易量均值                 3.333443e+01\n",
       "订单时间间隔均值（天）           3.078044e+01\n",
       "撮合单数                  3.062134e+01\n",
       "交易量方差                 2.663955e+01\n",
       "资产负债率                 2.045059e+01\n",
       "交易稳定性（近三个月交易量变化均值）    1.998353e+01\n",
       "订单总数                  1.417675e+01\n",
       "交易量最小值                1.318843e+01\n",
       "注册时间                  4.632357e+00\n",
       "合作时间（月）               4.356938e+00\n",
       "最近连续交易月数              3.849070e+00\n",
       "主营业务利润率               3.773813e+00\n",
       "账期合作时间（月）             3.285319e+00\n",
       "供应商数量                 2.893889e+00\n",
       "当地经济环境                1.495241e+00\n",
       "下游客户情况                9.362558e-01\n",
       "涉诉信息                  5.309730e-01\n",
       "最近交易（X月之前）            5.012962e-01\n",
       "最近一笔账期订单（X月之前）        4.882679e-01\n",
       "征信正常                  4.849679e-01\n",
       "商标专利                  4.829968e-01\n",
       "注册地址                  4.728106e-01\n",
       "场地租赁                  4.459749e-01\n",
       "场地自有                  4.459749e-01\n",
       "有无贷款                  4.287238e-01\n",
       "征信欠息                  4.045202e-01\n",
       "采购产品种类数量              3.838094e-01\n",
       "label                 3.361765e-01\n",
       "注册资本变更                3.163563e-01\n",
       "征信关注                  3.030101e-01\n",
       "提前还款占比                3.016020e-01\n",
       "账期订单占比                2.638878e-01\n",
       "逾期占比                  2.586018e-01\n",
       "分支机构                  2.262943e-01\n",
       "法人变更                  2.075588e-01\n",
       "征信不良                  3.874921e-02\n",
       "dtype: float64"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "samples_7 = pd.read_csv('./data/samples_7.csv')\n",
    "samples_7.std().sort_values(ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[Index([u'交易量方差', u'交易额方差', u'交易额最大值', u'账期订单交易量均值', u'交易量最大值', u'账期订单交易额均值',\n",
       "        u'交易量均值', u'交易额均值', u'员工人数', u'厂房面积', u'交易总量', u'交易额总量', u'实收资本',\n",
       "        u'资产负债率', u'注册地址', u'货币资金', u'征信欠息', u'净资产增长率', u'涉诉信息', u'订单时间间隔均值（天）',\n",
       "        u'商标专利', u'征信关注', u'法人变更', u'注册时间', u'净资产', u'场地租赁', u'场地自有'],\n",
       "       dtype='object'),\n",
       " Index([u'订单总数', u'供应商数量', u'最近连续交易月数', u'合作时间（月）', u'撮合单数', u'交易额最小值',\n",
       "        u'交易量最小值', u'账期合作时间（月）', u'交易总量', u'交易额总量', u'有无贷款', u'主营业务利润率',\n",
       "        u'货币资金', u'征信正常'],\n",
       "       dtype='object'),\n",
       " Index([u'征信欠息', u'净资产', u'当地经济环境', u'交易额总量', u'注册时间', u'交易总量', u'涉诉信息',\n",
       "        u'征信正常', u'账期订单占比', u'交易额均值', u'交易量均值', u'合作时间（月）',\n",
       "        u'交易稳定性（近三个月交易量变化均值）', u'下游客户情况', u'订单时间间隔均值（天）', u'商标专利', u'账期订单交易额均值',\n",
       "        u'账期订单交易量均值', u'场地租赁', u'场地自有', u'资产负债率', u'订单总数', u'有无贷款', u'撮合单数'],\n",
       "       dtype='object'),\n",
       " Index([u'商标专利', u'应收账款周转天数', u'注册地址', u'注册时间', u'订单时间间隔均值（天）', u'厂房面积',\n",
       "        u'员工人数', u'征信关注', u'主营业务利润率', u'合作时间（月）', u'销售增长率', u'净资产', u'有无贷款',\n",
       "        u'注册资本变更', u'实收资本', u'分支机构', u'存货周转天数', u'交易量最大值'],\n",
       "       dtype='object'),\n",
       " Index([u'场地租赁', u'场地自有', u'征信正常', u'征信关注', u'下游客户情况', u'当地经济环境', u'货币资金',\n",
       "        u'有无贷款', u'注册地址', u'员工人数', u'厂房面积', u'涉诉信息', u'订单时间间隔均值（天）', u'供应商数量',\n",
       "        u'交易量最小值', u'交易额最小值', u'应收账款周转天数', u'净资产'],\n",
       "       dtype='object'),\n",
       " Index([u'逾期占比', u'提前还款占比', u'有无贷款', u'撮合单数', u'账期合作时间（月）', u'账期订单占比', u'厂房面积',\n",
       "        u'员工人数', u'征信关注', u'订单时间间隔均值（天）', u'货币资金', u'征信正常', u'资产负债率'],\n",
       "       dtype='object'),\n",
       " Index([u'流动比率', u'资产负债率', u'实收资本', u'下游客户情况', u'净资产', u'主营业务利润率', u'注册资本变更',\n",
       "        u'员工人数', u'货币资金'],\n",
       "       dtype='object'),\n",
       " Index([u'最近交易（X月之前）', u'最近一笔账期订单（X月之前）', u'交易稳定性（近三个月交易量变化均值）', u'主营业务利润率'], dtype='object'),\n",
       " Index([u'分支机构', u'涉诉信息', u'注册资本变更', u'厂房面积', u'货币资金', u'订单时间间隔均值（天）', u'实收资本',\n",
       "        u'下游客户情况'],\n",
       "       dtype='object'),\n",
       " Index([u'销售增长率', u'交易额最小值', u'交易量最小值', u'注册资本变更', u'账期订单占比', u'流动比率', u'有无贷款',\n",
       "        u'注册时间', u'订单时间间隔均值（天）'],\n",
       "       dtype='object'),\n",
       " Index([u'法人变更', u'账期订单占比', u'账期合作时间（月）', u'撮合单数', u'征信不良', u'净资产增长率',\n",
       "        u'下游客户情况', u'交易量最小值'],\n",
       "       dtype='object'),\n",
       " Index([u'采购产品种类数量', u'净资产增长率', u'主营业务利润率', u'征信关注', u'下游客户情况', u'员工人数'], dtype='object'),\n",
       " Index([u'存货周转天数', u'主营业务利润率', u'有无贷款', u'注册资本变更', u'实收资本', u'账期订单占比'], dtype='object')]"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "fa = pd.read_excel('./data/factorAnalysis.xlsx')\n",
    "fa = fa.apply(abs)\n",
    "fa.index = [x.encode('utf-8') for x in fa.index]\n",
    "factors =[]\n",
    "for col in fa.columns:\n",
    "    col = fa[col].sort_values(ascending=False)\n",
    "    factors.append(col[col>0.2].index)\n",
    "factors"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 相关性分析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index([u'注册地址', u'注册资本变更', u'法人变更', u'分支机构', u'商标专利', u'场地归属', u'有无贷款',\n",
       "       u'企业征信', u'涉诉信息', u'下游客户情况', u'注册时间', u'实收资本', u'员工人数', u'厂房面积',\n",
       "       u'资产负债率', u'流动比率', u'净资产', u'货币资金', u'存货周转天数', u'应收账款周转天数', u'主营业务利润率',\n",
       "       u'净资产增长率', u'销售增长率', u'当地经济环境', u'撮合单数', u'订单总数', u'订单时间间隔均值（天）',\n",
       "       u'订单时间间隔方差（天）', u'交易总量', u'交易量最大值', u'交易量最小值', u'交易量方差', u'交易量均值',\n",
       "       u'交易额总量', u'交易额最大值', u'交易额最小值', u'交易额方差', u'交易额均值', u'交易稳定性', u'账期订单占比',\n",
       "       u'账期订单交易量均值', u'账期订单交易额均值', u'zq_day', u'季度逾期占比', u'季度提前还款占比',\n",
       "       u'季度平均逾期天数', u'历史_订单总数', u'历史_合作时间（月）', u'历史_最近交易（X月之前）',\n",
       "       u'历史_最近连续交易月数', u'历史_采购断档总月数', u'历史_订单时间间隔均值（天）', u'历史_订单时间间隔方差（天）',\n",
       "       u'历史_交易总量', u'历史_交易量最大值', u'历史_交易量最小值', u'历史_交易量方差', u'历史_交易量均值',\n",
       "       u'历史_交易额总量', u'历史_交易额最大值', u'历史_交易额最小值', u'历史_交易额方差', u'历史_交易额均值',\n",
       "       u'历史_交易稳定性', u'历史_供应商数量', u'历史_采购产品种类数量', u'历史_账期订单占比', u'历史_账期订单交易量均值',\n",
       "       u'历史_账期订单交易额均值', u'历史_账期合作时间（月）', u'历史_最近一笔账期订单（X月之前）',\n",
       "       u'历史_采购频率（订单总数/合作月数）', u'历史_采购聚集程度（订单总数/供应商数）', u'历史_4天以内占比',\n",
       "       u'历史_5-10天占比', u'历史_11天以上占比', u'历史_逾期占比', u'历史_提前还款占比', u'历史_平均逾期天数',\n",
       "       u'订单时间间隔均值变化', u'交易额均值变化', u'交易稳定性变化', u'账期订单交易量均值变化', u'账期订单交易额均值变化',\n",
       "       u'逾期占比变化', u'提前还款占比变化', u'平均逾期天数变化', u'label'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "data = pd.read_csv('./out1/samples_all_88.csv',index_col=0)\n",
    "data.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                        历史_交易总量  label  样本总数       woe\n",
      "历史_交易总量_rank                                          \n",
      "0.0               (1.0, 289.25)     55   462 -0.132992\n",
      "1.0              (289.5, 758.9)     49   460 -0.258285\n",
      "2.0           (765.25, 4581.35)     80   445  0.350617\n",
      "                              历史_交易额总量  label  样本总数       woe\n",
      "历史_交易额总量_rank                                                \n",
      "0.0                (7450.0, 2080214.0)     48   462 -0.286177\n",
      "1.0             (2082185.0, 4788531.0)     60   462 -0.033619\n",
      "2.0            (4797995.0, 29232419.0)     76   443  0.293860\n",
      "                                       订单时间间隔均值变化  label  样本总数       woe\n",
      "订单时间间隔均值变化_rank                                                         \n",
      "0.0              (0.0523415977961, 0.92781155015)     69   462  0.128785\n",
      "1.0               (0.927859237538, 1.01709401709)     67   462  0.094295\n",
      "2.0                (1.01796407186, 5.21276595745)     42   364 -0.168394\n",
      "                                     账期订单交易量均值变化  label  样本总数       woe\n",
      "账期订单交易量均值变化_rank                                                       \n",
      "0.0               (0.60661818969, 0.99987278972)     68   393  0.304171\n",
      "2.0                         (1.0, 2.42257217848)    111   925       NaN\n",
      "                                      账期订单交易额均值变化  label  样本总数       woe\n",
      "账期订单交易额均值变化_rank                                                        \n",
      "0.0               (0.636364271394, 0.99945104121)     52   320  0.228745\n",
      "1.0                          (1.0, 1.01391693943)     93   605  0.162763\n",
      "2.0                (1.01399911425, 2.50163198226)     34   393 -0.488474\n"
     ]
    }
   ],
   "source": [
    "for col in ['历史_交易总量','历史_交易额总量','订单时间间隔均值变化','账期订单交易量均值变化','账期订单交易额均值变化']:\n",
    "    tmp,sf= bins_num(data[[col,'label']],col,3)\n",
    "    print tmp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <th>label</th>\n",
       "      <th>样本总数</th>\n",
       "      <th>woe</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易量均值变化_rank</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0.0</th>\n",
       "      <td>(0.60661818969, 0.99987278972)</td>\n",
       "      <td>68</td>\n",
       "      <td>393</td>\n",
       "      <td>0.304171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2.0</th>\n",
       "      <td>(1.0, 2.42257217848)</td>\n",
       "      <td>111</td>\n",
       "      <td>925</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                     账期订单交易量均值变化  label  样本总数       woe\n",
       "账期订单交易量均值变化_rank                                                       \n",
       "0.0               (0.60661818969, 0.99987278972)     68   393  0.304171\n",
       "2.0                         (1.0, 2.42257217848)    111   925       NaN"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tmp,sf= bins_num(data[['账期订单交易量均值变化','label']],'账期订单交易量均值变化',3)\n",
    "tmp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>count</th>\n",
       "      <td>1318.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>mean</th>\n",
       "      <td>1.006145</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>std</th>\n",
       "      <td>0.168941</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>min</th>\n",
       "      <td>0.606618</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25%</th>\n",
       "      <td>0.970967</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50%</th>\n",
       "      <td>1.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75%</th>\n",
       "      <td>1.003139</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>max</th>\n",
       "      <td>2.422572</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "       账期订单交易量均值变化\n",
       "count  1318.000000\n",
       "mean      1.006145\n",
       "std       0.168941\n",
       "min       0.606618\n",
       "25%       0.970967\n",
       "50%       1.000000\n",
       "75%       1.003139\n",
       "max       2.422572"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# data[['账期订单交易量均值变化']].describe()\n",
    "def bins_num(df,col,bin_num):\n",
    "    total_count =df.shape[0]\n",
    "    rank_col = col+'_rank'\n",
    "    df[rank_col] = df[col].rank(method='max')/(total_count/bin_num*1.0)\n",
    "    df.loc[df[df[col].isnull()].index,rank_col] =np.nan\n",
    "    df[rank_col] =df[rank_col].apply(lambda x:int(x) if x>0 else np.nan)\n",
    "    tmp = df[df[rank_col]==bin_num] \n",
    "    if tmp.shape[0] < total_count/(bin_num*2): #最后            \n",
    "        df[rank_col].iloc[tmp.index]=bin_num-1\n",
    "    gp = df.groupby(by=rank_col)    \n",
    "    tmp = gp.sum()\n",
    "    tmp[col] = gp[col].apply(lambda x:(x.min(),x.max()))\n",
    "    tmp['样本总数'] =gp[col].count()\n",
    "    gf =calc_woe(df,rank_col)\n",
    "    tmp['woe'] =gf['woe']\n",
    "    iv =gf.iv.sum()\n",
    "    return tmp,df[rank_col]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/sf/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py:179: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  self._setitem_with_indexer(indexer, value)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>count</th>\n",
       "      <th>mean</th>\n",
       "      <th>std</th>\n",
       "      <th>min</th>\n",
       "      <th>25%</th>\n",
       "      <th>50%</th>\n",
       "      <th>75%</th>\n",
       "      <th>max</th>\n",
       "      <th>null_ratio</th>\n",
       "      <th>ivs</th>\n",
       "      <th>pearson_label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>注册地址</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.576258</td>\n",
       "      <td>0.494336</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.091191</td>\n",
       "      <td>0.100858</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册资本变更</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.138242</td>\n",
       "      <td>0.345283</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.012971</td>\n",
       "      <td>0.039383</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>法人变更</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.046582</td>\n",
       "      <td>0.210820</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.001012</td>\n",
       "      <td>-0.000621</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>分支机构</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.090909</td>\n",
       "      <td>0.287588</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.001803</td>\n",
       "      <td>0.009891</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>商标专利</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.619835</td>\n",
       "      <td>0.485610</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.092123</td>\n",
       "      <td>0.100191</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>场地归属</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.347107</td>\n",
       "      <td>0.476229</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.118460</td>\n",
       "      <td>0.121791</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>有无贷款</th>\n",
       "      <td>1244.0</td>\n",
       "      <td>0.797428</td>\n",
       "      <td>0.402078</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.105679</td>\n",
       "      <td>0.039329</td>\n",
       "      <td>0.066343</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>企业征信</th>\n",
       "      <td>992.0</td>\n",
       "      <td>1.508065</td>\n",
       "      <td>0.817280</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.286844</td>\n",
       "      <td>0.236759</td>\n",
       "      <td>0.112246</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>涉诉信息</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>0.368896</td>\n",
       "      <td>0.668222</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.068035</td>\n",
       "      <td>0.057467</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>下游客户情况</th>\n",
       "      <td>1202.0</td>\n",
       "      <td>2.572379</td>\n",
       "      <td>0.998835</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>4.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.135873</td>\n",
       "      <td>0.323262</td>\n",
       "      <td>-0.146150</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册时间</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>10.498873</td>\n",
       "      <td>4.675464</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>6.000000</td>\n",
       "      <td>10.000000</td>\n",
       "      <td>16.000000</td>\n",
       "      <td>2.100000e+01</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.083627</td>\n",
       "      <td>0.042638</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>804.454573</td>\n",
       "      <td>1116.638874</td>\n",
       "      <td>30.000000</td>\n",
       "      <td>50.000000</td>\n",
       "      <td>200.000000</td>\n",
       "      <td>1300.000000</td>\n",
       "      <td>4.036440e+03</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.232447</td>\n",
       "      <td>0.113229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>员工人数</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>150.435763</td>\n",
       "      <td>184.698082</td>\n",
       "      <td>10.000000</td>\n",
       "      <td>50.000000</td>\n",
       "      <td>80.000000</td>\n",
       "      <td>200.000000</td>\n",
       "      <td>7.000000e+02</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.186933</td>\n",
       "      <td>0.160334</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>厂房面积</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>24589.361382</td>\n",
       "      <td>41663.661300</td>\n",
       "      <td>200.000000</td>\n",
       "      <td>3000.000000</td>\n",
       "      <td>8000.000000</td>\n",
       "      <td>20000.000000</td>\n",
       "      <td>1.600000e+05</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.169944</td>\n",
       "      <td>0.142412</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>资产负债率</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>72.340068</td>\n",
       "      <td>19.495365</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>64.000000</td>\n",
       "      <td>77.290000</td>\n",
       "      <td>87.000000</td>\n",
       "      <td>9.500000e+01</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.264741</td>\n",
       "      <td>0.130753</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>流动比率</th>\n",
       "      <td>1045.0</td>\n",
       "      <td>145.866545</td>\n",
       "      <td>207.848002</td>\n",
       "      <td>22.730000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>109.000000</td>\n",
       "      <td>132.000000</td>\n",
       "      <td>1.646000e+03</td>\n",
       "      <td>0.248742</td>\n",
       "      <td>0.297838</td>\n",
       "      <td>-0.083507</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>843.615252</td>\n",
       "      <td>917.982103</td>\n",
       "      <td>53.000000</td>\n",
       "      <td>152.000000</td>\n",
       "      <td>255.000000</td>\n",
       "      <td>1288.000000</td>\n",
       "      <td>4.171000e+03</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.078774</td>\n",
       "      <td>0.050171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>货币资金</th>\n",
       "      <td>1028.0</td>\n",
       "      <td>238.262549</td>\n",
       "      <td>358.079197</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>36.000000</td>\n",
       "      <td>103.000000</td>\n",
       "      <td>323.400000</td>\n",
       "      <td>2.216000e+03</td>\n",
       "      <td>0.260963</td>\n",
       "      <td>0.098360</td>\n",
       "      <td>0.171135</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>存货周转天数</th>\n",
       "      <td>1032.0</td>\n",
       "      <td>55.326085</td>\n",
       "      <td>96.929558</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>84.630000</td>\n",
       "      <td>7.890000e+02</td>\n",
       "      <td>0.258088</td>\n",
       "      <td>0.271149</td>\n",
       "      <td>0.090102</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收账款周转天数</th>\n",
       "      <td>1096.0</td>\n",
       "      <td>88.187546</td>\n",
       "      <td>49.761740</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>49.000000</td>\n",
       "      <td>86.000000</td>\n",
       "      <td>117.860000</td>\n",
       "      <td>2.930000e+02</td>\n",
       "      <td>0.212078</td>\n",
       "      <td>0.067704</td>\n",
       "      <td>-0.086167</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>主营业务利润率</th>\n",
       "      <td>1090.0</td>\n",
       "      <td>10.359376</td>\n",
       "      <td>5.601759</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>7.000000</td>\n",
       "      <td>9.000000</td>\n",
       "      <td>13.000000</td>\n",
       "      <td>3.000000e+01</td>\n",
       "      <td>0.216391</td>\n",
       "      <td>0.079296</td>\n",
       "      <td>0.101716</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产增长率</th>\n",
       "      <td>1041.0</td>\n",
       "      <td>86.130221</td>\n",
       "      <td>281.833500</td>\n",
       "      <td>-22.000000</td>\n",
       "      <td>4.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>41.000000</td>\n",
       "      <td>2.140000e+03</td>\n",
       "      <td>0.251618</td>\n",
       "      <td>0.027378</td>\n",
       "      <td>-0.041839</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>销售增长率</th>\n",
       "      <td>1036.0</td>\n",
       "      <td>41.994247</td>\n",
       "      <td>82.714774</td>\n",
       "      <td>-37.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>12.000000</td>\n",
       "      <td>38.000000</td>\n",
       "      <td>1.055000e+03</td>\n",
       "      <td>0.255212</td>\n",
       "      <td>0.003949</td>\n",
       "      <td>-0.027533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>当地经济环境</th>\n",
       "      <td>1261.0</td>\n",
       "      <td>7.620460</td>\n",
       "      <td>1.263873</td>\n",
       "      <td>4.800000</td>\n",
       "      <td>7.100000</td>\n",
       "      <td>8.200000</td>\n",
       "      <td>8.600000</td>\n",
       "      <td>8.800000e+00</td>\n",
       "      <td>0.093458</td>\n",
       "      <td>0.063260</td>\n",
       "      <td>0.037850</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>撮合单数</th>\n",
       "      <td>1266.0</td>\n",
       "      <td>6.701422</td>\n",
       "      <td>22.056900</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>1.080000e+02</td>\n",
       "      <td>0.089863</td>\n",
       "      <td>0.037379</td>\n",
       "      <td>-0.038716</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单总数</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>7.625457</td>\n",
       "      <td>4.807284</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>4.000000</td>\n",
       "      <td>7.000000</td>\n",
       "      <td>10.000000</td>\n",
       "      <td>2.500000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.170247</td>\n",
       "      <td>0.144028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔均值（天）</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>17.753357</td>\n",
       "      <td>11.926181</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>10.727273</td>\n",
       "      <td>14.200000</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>9.900000e+01</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.080420</td>\n",
       "      <td>-0.055033</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔方差（天）</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>10.936963</td>\n",
       "      <td>8.478446</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.847830</td>\n",
       "      <td>9.202355</td>\n",
       "      <td>13.625339</td>\n",
       "      <td>6.646804e+01</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.051398</td>\n",
       "      <td>-0.045563</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易总量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>414.067513</td>\n",
       "      <td>481.981266</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>129.655000</td>\n",
       "      <td>226.000000</td>\n",
       "      <td>476.000000</td>\n",
       "      <td>2.396250e+03</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.144326</td>\n",
       "      <td>0.145341</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量最大值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>86.276862</td>\n",
       "      <td>81.228746</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>30.000000</td>\n",
       "      <td>56.000000</td>\n",
       "      <td>124.000000</td>\n",
       "      <td>4.030000e+02</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.079064</td>\n",
       "      <td>0.124071</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额最小值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>108700.398317</td>\n",
       "      <td>88128.841984</td>\n",
       "      <td>271.000000</td>\n",
       "      <td>18865.000000</td>\n",
       "      <td>128760.000000</td>\n",
       "      <td>152360.000000</td>\n",
       "      <td>1.017225e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.134016</td>\n",
       "      <td>-0.120626</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额方差</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>164709.088517</td>\n",
       "      <td>152326.476120</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>58664.431289</td>\n",
       "      <td>104989.634775</td>\n",
       "      <td>278039.964919</td>\n",
       "      <td>9.718940e+05</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.113122</td>\n",
       "      <td>0.096421</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>305069.136251</td>\n",
       "      <td>177579.692910</td>\n",
       "      <td>7450.000000</td>\n",
       "      <td>182950.189655</td>\n",
       "      <td>245386.538462</td>\n",
       "      <td>383622.271429</td>\n",
       "      <td>1.732995e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.118304</td>\n",
       "      <td>0.082350</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易稳定性</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.727001</td>\n",
       "      <td>9.056477</td>\n",
       "      <td>-0.991071</td>\n",
       "      <td>0.064155</td>\n",
       "      <td>0.216313</td>\n",
       "      <td>1.604392</td>\n",
       "      <td>8.531342e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.163146</td>\n",
       "      <td>0.006574</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_供应商数量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>4.650329</td>\n",
       "      <td>2.685144</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>6.000000</td>\n",
       "      <td>1.300000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.076593</td>\n",
       "      <td>0.063355</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购产品种类数量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>1.173372</td>\n",
       "      <td>0.547797</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.018722</td>\n",
       "      <td>0.031703</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单占比</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>0.754504</td>\n",
       "      <td>0.272424</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.600000</td>\n",
       "      <td>0.857143</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.016806</td>\n",
       "      <td>0.037527</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单交易量均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>46.739474</td>\n",
       "      <td>34.486730</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>25.339744</td>\n",
       "      <td>34.931818</td>\n",
       "      <td>57.894737</td>\n",
       "      <td>2.640000e+02</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.120369</td>\n",
       "      <td>0.092853</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单交易额均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>301556.882937</td>\n",
       "      <td>197812.255491</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>186042.931818</td>\n",
       "      <td>240975.000000</td>\n",
       "      <td>354075.000000</td>\n",
       "      <td>1.834800e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.108331</td>\n",
       "      <td>0.091944</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期合作时间（月）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>5.422824</td>\n",
       "      <td>3.722789</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>8.000000</td>\n",
       "      <td>1.600000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.039504</td>\n",
       "      <td>-0.037322</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_最近一笔账期订单（X月之前）</th>\n",
       "      <td>1227.0</td>\n",
       "      <td>0.732681</td>\n",
       "      <td>0.909583</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>9.000000e+00</td>\n",
       "      <td>0.117901</td>\n",
       "      <td>0.001773</td>\n",
       "      <td>0.006342</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购频率（订单总数/合作月数）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>2.137507</td>\n",
       "      <td>1.224493</td>\n",
       "      <td>0.214286</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>1.857143</td>\n",
       "      <td>2.444444</td>\n",
       "      <td>8.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.112677</td>\n",
       "      <td>0.118129</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购聚集程度（订单总数/供应商数）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.422289</td>\n",
       "      <td>2.116692</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>3.000000</td>\n",
       "      <td>4.296703</td>\n",
       "      <td>1.600000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.019023</td>\n",
       "      <td>-0.023141</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_4天以内占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>0.272356</td>\n",
       "      <td>0.213667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.090909</td>\n",
       "      <td>0.264000</td>\n",
       "      <td>0.428571</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.079034</td>\n",
       "      <td>0.103591</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_5-10天占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>0.078649</td>\n",
       "      <td>0.132692</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.023810</td>\n",
       "      <td>0.116134</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.330325</td>\n",
       "      <td>0.217158</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_11天以上占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>0.020958</td>\n",
       "      <td>0.067096</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.000006</td>\n",
       "      <td>0.216871</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_逾期占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>0.371963</td>\n",
       "      <td>0.263600</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.153010</td>\n",
       "      <td>0.369863</td>\n",
       "      <td>0.571429</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.504847</td>\n",
       "      <td>0.248483</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_提前还款占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>0.392801</td>\n",
       "      <td>0.284755</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.153194</td>\n",
       "      <td>0.370370</td>\n",
       "      <td>0.600000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.472114</td>\n",
       "      <td>-0.169422</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_平均逾期天数</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>2.882028</td>\n",
       "      <td>2.488980</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.666667</td>\n",
       "      <td>4.000000</td>\n",
       "      <td>3.200000e+01</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.396367</td>\n",
       "      <td>0.258202</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔均值变化</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>0.996806</td>\n",
       "      <td>0.348088</td>\n",
       "      <td>0.052342</td>\n",
       "      <td>0.825280</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.047733</td>\n",
       "      <td>5.212766e+00</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.015803</td>\n",
       "      <td>-0.014168</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额均值变化</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>1.052127</td>\n",
       "      <td>0.213644</td>\n",
       "      <td>0.405310</td>\n",
       "      <td>0.990387</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.084594</td>\n",
       "      <td>2.574344e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.004353</td>\n",
       "      <td>-0.044779</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易稳定性变化</th>\n",
       "      <td>1274.0</td>\n",
       "      <td>0.889166</td>\n",
       "      <td>2.062739</td>\n",
       "      <td>-30.969740</td>\n",
       "      <td>0.046966</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.282595</td>\n",
       "      <td>2.294143e+01</td>\n",
       "      <td>0.084112</td>\n",
       "      <td>0.007143</td>\n",
       "      <td>0.002527</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <td>1318.0</td>\n",
       "      <td>1.006145</td>\n",
       "      <td>0.168941</td>\n",
       "      <td>0.606618</td>\n",
       "      <td>0.970967</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.003139</td>\n",
       "      <td>2.422572e+00</td>\n",
       "      <td>0.052480</td>\n",
       "      <td>0.038924</td>\n",
       "      <td>-0.070308</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易额均值变化</th>\n",
       "      <td>1318.0</td>\n",
       "      <td>1.032290</td>\n",
       "      <td>0.178044</td>\n",
       "      <td>0.636364</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.032426</td>\n",
       "      <td>2.501632e+00</td>\n",
       "      <td>0.052480</td>\n",
       "      <td>0.081538</td>\n",
       "      <td>-0.066147</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>逾期占比变化</th>\n",
       "      <td>1121.0</td>\n",
       "      <td>1.012996</td>\n",
       "      <td>0.544020</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.933002</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.142857</td>\n",
       "      <td>5.500000e+00</td>\n",
       "      <td>0.194105</td>\n",
       "      <td>0.156276</td>\n",
       "      <td>0.076171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>提前还款占比变化</th>\n",
       "      <td>1129.0</td>\n",
       "      <td>0.974323</td>\n",
       "      <td>0.530598</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.800000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.095238</td>\n",
       "      <td>8.500000e+00</td>\n",
       "      <td>0.188354</td>\n",
       "      <td>0.124680</td>\n",
       "      <td>-0.112759</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>平均逾期天数变化</th>\n",
       "      <td>1121.0</td>\n",
       "      <td>0.921773</td>\n",
       "      <td>0.453904</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.807692</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>3.775148e+00</td>\n",
       "      <td>0.194105</td>\n",
       "      <td>0.168177</td>\n",
       "      <td>0.161918</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>季度交易总量占比</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>0.637922</td>\n",
       "      <td>0.294287</td>\n",
       "      <td>0.036501</td>\n",
       "      <td>0.384858</td>\n",
       "      <td>0.614905</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.011233</td>\n",
       "      <td>0.038707</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>季度交易额总量占比</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>0.651655</td>\n",
       "      <td>0.284972</td>\n",
       "      <td>0.039763</td>\n",
       "      <td>0.410188</td>\n",
       "      <td>0.639714</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.012554</td>\n",
       "      <td>0.040900</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>label</th>\n",
       "      <td>1391.0</td>\n",
       "      <td>0.133717</td>\n",
       "      <td>0.340470</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.000000</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>90 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                       count           mean            std          min  \\\n",
       "注册地址                  1331.0       0.576258       0.494336     0.000000   \n",
       "注册资本变更                1331.0       0.138242       0.345283     0.000000   \n",
       "法人变更                  1331.0       0.046582       0.210820     0.000000   \n",
       "分支机构                  1331.0       0.090909       0.287588     0.000000   \n",
       "商标专利                  1331.0       0.619835       0.485610     0.000000   \n",
       "场地归属                  1331.0       0.347107       0.476229     0.000000   \n",
       "有无贷款                  1244.0       0.797428       0.402078     0.000000   \n",
       "企业征信                   992.0       1.508065       0.817280     1.000000   \n",
       "涉诉信息                  1331.0       0.368896       0.668222     0.000000   \n",
       "下游客户情况                1202.0       2.572379       0.998835     1.000000   \n",
       "注册时间                  1331.0      10.498873       4.675464     1.500000   \n",
       "实收资本                  1331.0     804.454573    1116.638874    30.000000   \n",
       "员工人数                  1331.0     150.435763     184.698082    10.000000   \n",
       "厂房面积                  1331.0   24589.361382   41663.661300   200.000000   \n",
       "资产负债率                 1331.0      72.340068      19.495365     5.000000   \n",
       "流动比率                  1045.0     145.866545     207.848002    22.730000   \n",
       "净资产                   1331.0     843.615252     917.982103    53.000000   \n",
       "货币资金                  1028.0     238.262549     358.079197     0.000000   \n",
       "存货周转天数                1032.0      55.326085      96.929558     0.000000   \n",
       "应收账款周转天数              1096.0      88.187546      49.761740     0.000000   \n",
       "主营业务利润率               1090.0      10.359376       5.601759     1.000000   \n",
       "净资产增长率                1041.0      86.130221     281.833500   -22.000000   \n",
       "销售增长率                 1036.0      41.994247      82.714774   -37.000000   \n",
       "当地经济环境                1261.0       7.620460       1.263873     4.800000   \n",
       "撮合单数                  1266.0       6.701422      22.056900     0.000000   \n",
       "订单总数                  1367.0       7.625457       4.807284     1.000000   \n",
       "订单时间间隔均值（天）           1288.0      17.753357      11.926181     1.000000   \n",
       "订单时间间隔方差（天）           1288.0      10.936963       8.478446     0.000000   \n",
       "交易总量                  1367.0     414.067513     481.981266     1.000000   \n",
       "交易量最大值                1367.0      86.276862      81.228746     1.000000   \n",
       "...                      ...            ...            ...          ...   \n",
       "历史_交易额最小值             1367.0  108700.398317   88128.841984   271.000000   \n",
       "历史_交易额方差              1319.0  164709.088517  152326.476120     0.000000   \n",
       "历史_交易额均值              1367.0  305069.136251  177579.692910  7450.000000   \n",
       "历史_交易稳定性              1367.0       3.727001       9.056477    -0.991071   \n",
       "历史_供应商数量              1367.0       4.650329       2.685144     1.000000   \n",
       "历史_采购产品种类数量           1367.0       1.173372       0.547797     1.000000   \n",
       "历史_账期订单占比             1367.0       0.754504       0.272424     0.000000   \n",
       "历史_账期订单交易量均值          1367.0      46.739474      34.486730     0.000000   \n",
       "历史_账期订单交易额均值          1367.0  301556.882937  197812.255491     0.000000   \n",
       "历史_账期合作时间（月）          1367.0       5.422824       3.722789     0.000000   \n",
       "历史_最近一笔账期订单（X月之前）     1227.0       0.732681       0.909583     0.000000   \n",
       "历史_采购频率（订单总数/合作月数）    1367.0       2.137507       1.224493     0.214286   \n",
       "历史_采购聚集程度（订单总数/供应商数）  1367.0       3.422289       2.116692     1.000000   \n",
       "历史_4天以内占比             1319.0       0.272356       0.213667     0.000000   \n",
       "历史_5-10天占比            1319.0       0.078649       0.132692     0.000000   \n",
       "历史_11天以上占比            1319.0       0.020958       0.067096     0.000000   \n",
       "历史_逾期占比               1319.0       0.371963       0.263600     0.000000   \n",
       "历史_提前还款占比             1319.0       0.392801       0.284755     0.000000   \n",
       "历史_平均逾期天数             1319.0       2.882028       2.488980     0.000000   \n",
       "订单时间间隔均值变化            1288.0       0.996806       0.348088     0.052342   \n",
       "交易额均值变化               1367.0       1.052127       0.213644     0.405310   \n",
       "交易稳定性变化               1274.0       0.889166       2.062739   -30.969740   \n",
       "账期订单交易量均值变化           1318.0       1.006145       0.168941     0.606618   \n",
       "账期订单交易额均值变化           1318.0       1.032290       0.178044     0.636364   \n",
       "逾期占比变化                1121.0       1.012996       0.544020     0.000000   \n",
       "提前还款占比变化              1129.0       0.974323       0.530598     0.000000   \n",
       "平均逾期天数变化              1121.0       0.921773       0.453904     0.000000   \n",
       "季度交易总量占比              1367.0       0.637922       0.294287     0.036501   \n",
       "季度交易额总量占比             1367.0       0.651655       0.284972     0.039763   \n",
       "label                 1391.0       0.133717       0.340470     0.000000   \n",
       "\n",
       "                                25%            50%            75%  \\\n",
       "注册地址                       0.000000       1.000000       1.000000   \n",
       "注册资本变更                     0.000000       0.000000       0.000000   \n",
       "法人变更                       0.000000       0.000000       0.000000   \n",
       "分支机构                       0.000000       0.000000       0.000000   \n",
       "商标专利                       0.000000       1.000000       1.000000   \n",
       "场地归属                       0.000000       0.000000       1.000000   \n",
       "有无贷款                       1.000000       1.000000       1.000000   \n",
       "企业征信                       1.000000       1.000000       2.000000   \n",
       "涉诉信息                       0.000000       0.000000       1.000000   \n",
       "下游客户情况                     2.000000       2.000000       4.000000   \n",
       "注册时间                       6.000000      10.000000      16.000000   \n",
       "实收资本                      50.000000     200.000000    1300.000000   \n",
       "员工人数                      50.000000      80.000000     200.000000   \n",
       "厂房面积                    3000.000000    8000.000000   20000.000000   \n",
       "资产负债率                     64.000000      77.290000      87.000000   \n",
       "流动比率                      98.000000     109.000000     132.000000   \n",
       "净资产                      152.000000     255.000000    1288.000000   \n",
       "货币资金                      36.000000     103.000000     323.400000   \n",
       "存货周转天数                     5.000000      15.000000      84.630000   \n",
       "应收账款周转天数                  49.000000      86.000000     117.860000   \n",
       "主营业务利润率                    7.000000       9.000000      13.000000   \n",
       "净资产增长率                     4.000000      15.000000      41.000000   \n",
       "销售增长率                      0.000000      12.000000      38.000000   \n",
       "当地经济环境                     7.100000       8.200000       8.600000   \n",
       "撮合单数                       0.000000       0.000000       2.000000   \n",
       "订单总数                       4.000000       7.000000      10.000000   \n",
       "订单时间间隔均值（天）               10.727273      14.200000      20.000000   \n",
       "订单时间间隔方差（天）                5.847830       9.202355      13.625339   \n",
       "交易总量                     129.655000     226.000000     476.000000   \n",
       "交易量最大值                    30.000000      56.000000     124.000000   \n",
       "...                             ...            ...            ...   \n",
       "历史_交易额最小值              18865.000000  128760.000000  152360.000000   \n",
       "历史_交易额方差               58664.431289  104989.634775  278039.964919   \n",
       "历史_交易额均值              182950.189655  245386.538462  383622.271429   \n",
       "历史_交易稳定性                   0.064155       0.216313       1.604392   \n",
       "历史_供应商数量                   2.000000       5.000000       6.000000   \n",
       "历史_采购产品种类数量                1.000000       1.000000       1.000000   \n",
       "历史_账期订单占比                  0.600000       0.857143       1.000000   \n",
       "历史_账期订单交易量均值              25.339744      34.931818      57.894737   \n",
       "历史_账期订单交易额均值          186042.931818  240975.000000  354075.000000   \n",
       "历史_账期合作时间（月）               2.000000       5.000000       8.000000   \n",
       "历史_最近一笔账期订单（X月之前）          0.000000       1.000000       1.000000   \n",
       "历史_采购频率（订单总数/合作月数）         1.333333       1.857143       2.444444   \n",
       "历史_采购聚集程度（订单总数/供应商数）       2.000000       3.000000       4.296703   \n",
       "历史_4天以内占比                  0.090909       0.264000       0.428571   \n",
       "历史_5-10天占比                 0.000000       0.023810       0.116134   \n",
       "历史_11天以上占比                 0.000000       0.000000       0.000000   \n",
       "历史_逾期占比                    0.153010       0.369863       0.571429   \n",
       "历史_提前还款占比                  0.153194       0.370370       0.600000   \n",
       "历史_平均逾期天数                  1.000000       2.666667       4.000000   \n",
       "订单时间间隔均值变化                 0.825280       1.000000       1.047733   \n",
       "交易额均值变化                    0.990387       1.000000       1.084594   \n",
       "交易稳定性变化                    0.046966       1.000000       1.282595   \n",
       "账期订单交易量均值变化                0.970967       1.000000       1.003139   \n",
       "账期订单交易额均值变化                1.000000       1.000000       1.032426   \n",
       "逾期占比变化                     0.933002       1.000000       1.142857   \n",
       "提前还款占比变化                   0.800000       1.000000       1.095238   \n",
       "平均逾期天数变化                   0.807692       1.000000       1.000000   \n",
       "季度交易总量占比                   0.384858       0.614905       1.000000   \n",
       "季度交易额总量占比                  0.410188       0.639714       1.000000   \n",
       "label                      0.000000       0.000000       0.000000   \n",
       "\n",
       "                               max  null_ratio       ivs  pearson_label  \n",
       "注册地址                  1.000000e+00    0.043134  0.091191       0.100858  \n",
       "注册资本变更                1.000000e+00    0.043134  0.012971       0.039383  \n",
       "法人变更                  1.000000e+00    0.043134  0.001012      -0.000621  \n",
       "分支机构                  1.000000e+00    0.043134  0.001803       0.009891  \n",
       "商标专利                  1.000000e+00    0.043134  0.092123       0.100191  \n",
       "场地归属                  1.000000e+00    0.043134  0.118460       0.121791  \n",
       "有无贷款                  1.000000e+00    0.105679  0.039329       0.066343  \n",
       "企业征信                  4.000000e+00    0.286844  0.236759       0.112246  \n",
       "涉诉信息                  4.000000e+00    0.043134  0.068035       0.057467  \n",
       "下游客户情况                4.000000e+00    0.135873  0.323262      -0.146150  \n",
       "注册时间                  2.100000e+01    0.043134  0.083627       0.042638  \n",
       "实收资本                  4.036440e+03    0.043134  0.232447       0.113229  \n",
       "员工人数                  7.000000e+02    0.043134  0.186933       0.160334  \n",
       "厂房面积                  1.600000e+05    0.043134  0.169944       0.142412  \n",
       "资产负债率                 9.500000e+01    0.043134  0.264741       0.130753  \n",
       "流动比率                  1.646000e+03    0.248742  0.297838      -0.083507  \n",
       "净资产                   4.171000e+03    0.043134  0.078774       0.050171  \n",
       "货币资金                  2.216000e+03    0.260963  0.098360       0.171135  \n",
       "存货周转天数                7.890000e+02    0.258088  0.271149       0.090102  \n",
       "应收账款周转天数              2.930000e+02    0.212078  0.067704      -0.086167  \n",
       "主营业务利润率               3.000000e+01    0.216391  0.079296       0.101716  \n",
       "净资产增长率                2.140000e+03    0.251618  0.027378      -0.041839  \n",
       "销售增长率                 1.055000e+03    0.255212  0.003949      -0.027533  \n",
       "当地经济环境                8.800000e+00    0.093458  0.063260       0.037850  \n",
       "撮合单数                  1.080000e+02    0.089863  0.037379      -0.038716  \n",
       "订单总数                  2.500000e+01    0.017254  0.170247       0.144028  \n",
       "订单时间间隔均值（天）           9.900000e+01    0.074047  0.080420      -0.055033  \n",
       "订单时间间隔方差（天）           6.646804e+01    0.074047  0.051398      -0.045563  \n",
       "交易总量                  2.396250e+03    0.017254  0.144326       0.145341  \n",
       "交易量最大值                4.030000e+02    0.017254  0.079064       0.124071  \n",
       "...                            ...         ...       ...            ...  \n",
       "历史_交易额最小值             1.017225e+06    0.017254  0.134016      -0.120626  \n",
       "历史_交易额方差              9.718940e+05    0.051761  0.113122       0.096421  \n",
       "历史_交易额均值              1.732995e+06    0.017254  0.118304       0.082350  \n",
       "历史_交易稳定性              8.531342e+01    0.017254  0.163146       0.006574  \n",
       "历史_供应商数量              1.300000e+01    0.017254  0.076593       0.063355  \n",
       "历史_采购产品种类数量           4.000000e+00    0.017254  0.018722       0.031703  \n",
       "历史_账期订单占比             1.000000e+00    0.017254  0.016806       0.037527  \n",
       "历史_账期订单交易量均值          2.640000e+02    0.017254  0.120369       0.092853  \n",
       "历史_账期订单交易额均值          1.834800e+06    0.017254  0.108331       0.091944  \n",
       "历史_账期合作时间（月）          1.600000e+01    0.017254  0.039504      -0.037322  \n",
       "历史_最近一笔账期订单（X月之前）     9.000000e+00    0.117901  0.001773       0.006342  \n",
       "历史_采购频率（订单总数/合作月数）    8.000000e+00    0.017254  0.112677       0.118129  \n",
       "历史_采购聚集程度（订单总数/供应商数）  1.600000e+01    0.017254  0.019023      -0.023141  \n",
       "历史_4天以内占比             1.000000e+00    0.051761  0.079034       0.103591  \n",
       "历史_5-10天占比            1.000000e+00    0.051761  0.330325       0.217158  \n",
       "历史_11天以上占比            1.000000e+00    0.051761  0.000006       0.216871  \n",
       "历史_逾期占比               1.000000e+00    0.051761  0.504847       0.248483  \n",
       "历史_提前还款占比             1.000000e+00    0.051761  0.472114      -0.169422  \n",
       "历史_平均逾期天数             3.200000e+01    0.051761  0.396367       0.258202  \n",
       "订单时间间隔均值变化            5.212766e+00    0.074047  0.015803      -0.014168  \n",
       "交易额均值变化               2.574344e+00    0.017254  0.004353      -0.044779  \n",
       "交易稳定性变化               2.294143e+01    0.084112  0.007143       0.002527  \n",
       "账期订单交易量均值变化           2.422572e+00    0.052480  0.038924      -0.070308  \n",
       "账期订单交易额均值变化           2.501632e+00    0.052480  0.081538      -0.066147  \n",
       "逾期占比变化                5.500000e+00    0.194105  0.156276       0.076171  \n",
       "提前还款占比变化              8.500000e+00    0.188354  0.124680      -0.112759  \n",
       "平均逾期天数变化              3.775148e+00    0.194105  0.168177       0.161918  \n",
       "季度交易总量占比              1.000000e+00    0.017254  0.011233       0.038707  \n",
       "季度交易额总量占比             1.000000e+00    0.017254  0.012554       0.040900  \n",
       "label                 1.000000e+00    0.000000       NaN       1.000000  \n",
       "\n",
       "[90 rows x 11 columns]"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#样本分布，IV值，相关性统计\n",
    "tmp = stastic(data)\n",
    "tmp.to_csv('./new_out/statistic_all_features_88.csv')\n",
    "tmp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Empty DataFrame\n",
       "Columns: []\n",
       "Index: []"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#变量之间的相关性计算\n",
    "def feature_pearson(cols):\n",
    "    result =[]\n",
    "    for i in xrange(len(cols)):\n",
    "        for j in xrange(i+1,len(cols)):\n",
    "            corrs = data[cols[i]].corr(data[cols[j]])\n",
    "            if np.abs(corrs)>0.5:\n",
    "                result.append([cols[i],cols[j],corrs])\n",
    "    return result\n",
    "cols = [col for col in data.columns if data[col].dtypes=='float64']\n",
    "result = feature_pearson(cols)\n",
    "# pd.DataFrame(result).to_csv('./new_out/all_features_pearson.csv',index=None)\n",
    "pd.DataFrame(result)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "col2 = ['实收资本','注册地址','场地归属','注册时间','下游客户情况','涉诉信息','有无贷款','企业征信','净资产','流动比率','资产负债率',\n",
    "        '货币资金','主营业务利润率','应收账款周转天数','存货周转天数','季度逾期占比','季度平均逾期天数','历史_逾期占比',\n",
    "        '历史_提前还款占比','季度提前还款占比','历史_平均逾期天数','平均逾期天数变化','逾期占比变化','订单总数','交易额总量',\n",
    "        '历史_交易稳定性','交易量最小值','交易总量','交易额最小值','交易额方差','交易量方差','提前还款占比变化','历史_账期订单交易量均值',\n",
    "        '历史_交易额均值','历史_账期订单交易额均值','交易额最大值','交易额均值','交易稳定性','历史_最近连续交易月数','历史_账期合作时间（月）',\n",
    "        'label']\n",
    "# tmp = data[col2]\n",
    "# stastic(tmp)['ivs']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "注册资本变更 \t0.0129710182578\n",
      "法人变更 \t0.00101235530784\n",
      "分支机构 \t0.00180300735484\n",
      "商标专利 \t0.0921228354172\n",
      "员工人数 \t0.18693281148\n",
      "厂房面积 \t0.169943582529\n",
      "净资产增长率 \t0.0273780545727\n",
      "销售增长率 \t0.00394932000183\n",
      "当地经济环境 \t0.0632598789737\n",
      "撮合单数 \t0.0373788833018\n",
      "订单时间间隔均值（天） \t0.0804201210408\n",
      "订单时间间隔方差（天） \t0.0513982915922\n",
      "交易量最大值 \t0.0790639663873\n",
      "交易量均值 \t0.0837453690037\n",
      "账期订单占比 \t5.73310287662e-05\n",
      "账期订单交易量均值 \t0.0780424382063\n",
      "账期订单交易额均值 \t0.0629063894823\n",
      "历史_订单总数 \t0.0248228608235\n",
      "历史_合作时间（月） \t0.0665577968429\n",
      "历史_最近交易（X月之前） \t0.00265157484755\n",
      "历史_采购断档总月数 \t0.00560579452172\n",
      "历史_订单时间间隔均值（天） \t0.0643086900844\n",
      "历史_订单时间间隔方差（天） \t0.05073664059\n",
      "历史_交易总量 \t0.0702459750573\n",
      "历史_交易量最大值 \t0.0959478048873\n",
      "历史_交易量最小值 \t0.138250232128\n",
      "历史_交易量方差 \t0.159138872621\n",
      "历史_交易量均值 \t0.107084919518\n",
      "历史_交易额总量 \t0.055412567332\n",
      "历史_交易额最大值 \t0.10541736577\n",
      "历史_交易额最小值 \t0.134016033378\n",
      "历史_交易额方差 \t0.113121546732\n",
      "历史_供应商数量 \t0.0765932427625\n",
      "历史_采购产品种类数量 \t0.0187217373036\n",
      "历史_账期订单占比 \t0.0168058252985\n",
      "历史_最近一笔账期订单（X月之前） \t0.00177287769517\n",
      "历史_采购频率（订单总数/合作月数） \t0.112676972305\n",
      "历史_采购聚集程度（订单总数/供应商数） \t0.0190228137311\n",
      "历史_4天以内占比 \t0.0790344830765\n",
      "历史_5-10天占比 \t0.330324730583\n",
      "历史_11天以上占比 \t5.63806367003e-06\n",
      "订单时间间隔均值变化 \t0.0158032737733\n",
      "交易额均值变化 \t0.00435252927856\n",
      "交易稳定性变化 \t0.00714333277742\n",
      "账期订单交易量均值变化 \t0.0389241978408\n",
      "账期订单交易额均值变化 \t0.0815377021726\n"
     ]
    },
    {
     "ename": "AttributeError",
     "evalue": "'DataFrame' object has no attribute 'unique'",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mAttributeError\u001b[0m                            Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-23-c4a7ac7c251f>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m      5\u001b[0m \u001b[1;31m# tmp=data[col]\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      6\u001b[0m \u001b[1;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mcol\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 7\u001b[1;33m     \u001b[0mgf\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mcalc_woe\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'label'\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mi\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;36m3\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m      8\u001b[0m     \u001b[1;32mprint\u001b[0m \u001b[0mi\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'\\t'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mgf\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0miv\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msum\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      9\u001b[0m \u001b[1;31m# stastic(tmp)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m/home/sf/PycharmProjects/sparkdata/lt/mingshengjiayin/funcs.py\u001b[0m in \u001b[0;36mcalc_woe\u001b[1;34m(df, col, bin_num)\u001b[0m\n\u001b[0;32m    243\u001b[0m     \u001b[0mtotal_count\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mdf_sub\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;36m0\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    244\u001b[0m     \u001b[0mrank_col\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mcol\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 245\u001b[1;33m     \u001b[1;32mif\u001b[0m \u001b[0mdf_sub\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mcol\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0munique\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msize\u001b[0m\u001b[1;33m>\u001b[0m\u001b[1;36m6\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    246\u001b[0m         \u001b[0mrank_col\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mcol\u001b[0m\u001b[1;33m+\u001b[0m\u001b[1;34m'_rank'\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    247\u001b[0m         \u001b[0mdf_sub\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mrank_col\u001b[0m\u001b[1;33m]\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mdf_sub\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mcol\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrank\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m'max'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m/\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mtotal_count\u001b[0m\u001b[1;33m/\u001b[0m\u001b[0mbin_num\u001b[0m\u001b[1;33m*\u001b[0m\u001b[1;36m1.0\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m/home/sf/anaconda2/lib/python2.7/site-packages/pandas/core/generic.pyc\u001b[0m in \u001b[0;36m__getattr__\u001b[1;34m(self, name)\u001b[0m\n\u001b[0;32m   3079\u001b[0m             \u001b[1;32mif\u001b[0m \u001b[0mname\u001b[0m \u001b[1;32min\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_info_axis\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m   3080\u001b[0m                 \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 3081\u001b[1;33m             \u001b[1;32mreturn\u001b[0m \u001b[0mobject\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m__getattribute__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m   3082\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m   3083\u001b[0m     \u001b[1;32mdef\u001b[0m \u001b[0m__setattr__\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mAttributeError\u001b[0m: 'DataFrame' object has no attribute 'unique'"
     ]
    }
   ],
   "source": [
    "col = [x for x in data.columns if x not in col2]\n",
    "col.append('label')\n",
    "col.remove('起算日期')\n",
    "col.remove('zq_day')\n",
    "# tmp=data[col]\n",
    "for i in col:\n",
    "    gf = calc_woe(data[[i,'label']],i,3)\n",
    "    print i,'\\t',gf.iv.sum()\n",
    "# stastic(tmp)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "注册时间                  1.000000\n",
       "企业征信                  0.661152\n",
       "净资产                   0.652088\n",
       "商标专利                  0.502179\n",
       "历史_采购频率（订单总数/合作月数）    0.468634\n",
       "应收账款周转天数              0.450969\n",
       "销售增长率                 0.386038\n",
       "涉诉信息                  0.372193\n",
       "当地经济环境                0.353876\n",
       "交易额总量                 0.353591\n",
       "交易总量                  0.351950\n",
       "订单总数                  0.314452\n",
       "历史_交易额总量              0.268569\n",
       "历史_交易总量               0.263438\n",
       "分支机构                  0.262053\n",
       "订单时间间隔均值（天）           0.250600\n",
       "历史_账期订单交易额均值          0.242775\n",
       "历史_账期订单占比             0.238053\n",
       "历史_账期订单交易量均值          0.236724\n",
       "下游客户情况                0.234650\n",
       "历史_提前还款占比             0.231748\n",
       "历史_交易额均值              0.229845\n",
       "主营业务利润率               0.224567\n",
       "历史_交易量均值              0.219649\n",
       "历史_采购断档总月数            0.219461\n",
       "历史_合作时间（月）            0.215590\n",
       "货币资金                  0.206429\n",
       "资产负债率                 0.199053\n",
       "有无贷款                  0.192706\n",
       "交易额最小值                0.188056\n",
       "                        ...   \n",
       "交易稳定性                 0.110812\n",
       "场地归属                  0.107376\n",
       "厂房面积                  0.104875\n",
       "交易量方差                 0.102298\n",
       "交易量最大值                0.098488\n",
       "历史_最近连续交易月数           0.090028\n",
       "历史_交易额方差              0.086300\n",
       "历史_交易量方差              0.082410\n",
       "实收资本                  0.080247\n",
       "历史_交易稳定性              0.073168\n",
       "历史_账期合作时间（月）          0.073058\n",
       "历史_采购产品种类数量           0.070685\n",
       "季度逾期占比                0.069381\n",
       "历史_最近一笔账期订单（X月之前）     0.068523\n",
       "历史_交易额最小值             0.067773\n",
       "历史_最近交易（X月之前）         0.065581\n",
       "法人变更                  0.060971\n",
       "历史_交易额最大值             0.059715\n",
       "历史_逾期占比               0.056815\n",
       "员工人数                  0.054079\n",
       "历史_交易量最小值             0.052299\n",
       "流动比率                  0.051728\n",
       "label                 0.042638\n",
       "提前还款占比变化              0.040528\n",
       "逾期占比变化                0.039623\n",
       "历史_交易量最大值             0.024280\n",
       "历史_供应商数量              0.020544\n",
       "平均逾期天数变化              0.019316\n",
       "存货周转天数                0.008453\n",
       "撮合单数                  0.001269\n",
       "Name: 注册时间, Length: 90, dtype: float64"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.corr()['注册时间'].abs().sort_values(ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'pd' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-2-8d0d2e0e0854>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m      1\u001b[0m \u001b[1;31m#变量分段统计\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 2\u001b[1;33m \u001b[0mdata\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mpd\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mread_csv\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'./out1/samples_for_card_fillna_mean.csv'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mindex_col\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;36m0\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m      3\u001b[0m \u001b[0mdata\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      4\u001b[0m \u001b[1;31m# pd.cut(data['实收资本'],[0,100,1000]).value_counts()\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mNameError\u001b[0m: name 'pd' is not defined"
     ]
    }
   ],
   "source": [
    "#变量分段统计\n",
    "data = pd.read_csv('./out1/samples_for_card_fillna_mean.csv',index_col=0)\n",
    "data\n",
    "# pd.cut(data['实收资本'],[0,100,1000]).value_counts()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr>\n",
       "      <th></th>\n",
       "      <th colspan=\"2\" halign=\"left\">label</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th></th>\n",
       "      <th>count</th>\n",
       "      <th>sum</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>-0.324096</th>\n",
       "      <td>478</td>\n",
       "      <td>48</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>-0.054173</th>\n",
       "      <td>60</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>-0.052911</th>\n",
       "      <td>462</td>\n",
       "      <td>59</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0.274318</th>\n",
       "      <td>391</td>\n",
       "      <td>66</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          label    \n",
       "          count sum\n",
       "实收资本               \n",
       "-0.324096   478  48\n",
       "-0.054173    60  13\n",
       "-0.052911   462  59\n",
       " 0.274318   391  66"
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.groupby(by='实收资本')[['label']].agg(['count','sum'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "场地归属  label\n",
       "0.0   0        782\n",
       "      1         87\n",
       "1.0   0        376\n",
       "      1         86\n",
       "Name: label, dtype: int64"
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data[['场地归属','label']].groupby('场地归属')['label'].value_counts()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "场地归属\n",
       "0    46\n",
       "1    20\n",
       "Name: 场地归属, dtype: int64"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f_base = pd.read_csv('./data/features_card.csv',index_col=0)\n",
    "f_base.groupby(by='场地归属')['场地归属'].count()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>label</th>\n",
       "      <th>t</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>30.000</th>\n",
       "      <td>11</td>\n",
       "      <td>87</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50.000</th>\n",
       "      <td>25</td>\n",
       "      <td>261</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51.000</th>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60.000</th>\n",
       "      <td>3</td>\n",
       "      <td>29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>100.000</th>\n",
       "      <td>9</td>\n",
       "      <td>96</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>101.000</th>\n",
       "      <td>0</td>\n",
       "      <td>44</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>103.000</th>\n",
       "      <td>6</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>150.000</th>\n",
       "      <td>6</td>\n",
       "      <td>34</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>156.000</th>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>182.000</th>\n",
       "      <td>0</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>183.700</th>\n",
       "      <td>0</td>\n",
       "      <td>17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>200.000</th>\n",
       "      <td>3</td>\n",
       "      <td>59</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>201.000</th>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>264.000</th>\n",
       "      <td>2</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>280.000</th>\n",
       "      <td>1</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>300.000</th>\n",
       "      <td>2</td>\n",
       "      <td>41</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>330.796</th>\n",
       "      <td>1</td>\n",
       "      <td>21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>500.000</th>\n",
       "      <td>1</td>\n",
       "      <td>40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>600.000</th>\n",
       "      <td>4</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>750.000</th>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1000.000</th>\n",
       "      <td>31</td>\n",
       "      <td>81</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1030.000</th>\n",
       "      <td>1</td>\n",
       "      <td>38</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1300.000</th>\n",
       "      <td>27</td>\n",
       "      <td>149</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1362.500</th>\n",
       "      <td>7</td>\n",
       "      <td>19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1500.000</th>\n",
       "      <td>0</td>\n",
       "      <td>17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2060.000</th>\n",
       "      <td>0</td>\n",
       "      <td>18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3000.000</th>\n",
       "      <td>6</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3050.000</th>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3633.000</th>\n",
       "      <td>20</td>\n",
       "      <td>95</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3996.760</th>\n",
       "      <td>3</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4036.440</th>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          label    t\n",
       "实收资本                \n",
       "30.000       11   87\n",
       "50.000       25  261\n",
       "51.000        0    5\n",
       "60.000        3   29\n",
       "100.000       9   96\n",
       "101.000       0   44\n",
       "103.000       6   27\n",
       "150.000       6   34\n",
       "156.000       1   12\n",
       "182.000       0   20\n",
       "183.700       0   17\n",
       "200.000       3   59\n",
       "201.000       0    4\n",
       "264.000       2    5\n",
       "280.000       1   27\n",
       "300.000       2   41\n",
       "330.796       1   21\n",
       "500.000       1   40\n",
       "600.000       4   20\n",
       "750.000       1   10\n",
       "1000.000     31   81\n",
       "1030.000      1   38\n",
       "1300.000     27  149\n",
       "1362.500      7   19\n",
       "1500.000      0   17\n",
       "2060.000      0   18\n",
       "3000.000      6   20\n",
       "3050.000      2    6\n",
       "3633.000     20   95\n",
       "3996.760      3   13\n",
       "4036.440      0   16"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tmp =pd.DataFrame()\n",
    "tmp['label'] = data[['实收资本','label']].groupby(by='实收资本')['label'].sum()\n",
    "tmp['t']=data['实收资本'].value_counts()\n",
    "tmp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "实收资本\n",
       "30.000      11\n",
       "50.000      25\n",
       "51.000       0\n",
       "60.000       3\n",
       "100.000      9\n",
       "101.000      0\n",
       "103.000      6\n",
       "150.000      6\n",
       "156.000      1\n",
       "182.000      0\n",
       "183.700      0\n",
       "200.000      3\n",
       "201.000      0\n",
       "264.000      2\n",
       "280.000      1\n",
       "300.000      2\n",
       "330.796      1\n",
       "500.000      1\n",
       "600.000      4\n",
       "750.000      1\n",
       "1000.000    31\n",
       "1030.000     1\n",
       "1300.000    27\n",
       "1362.500     7\n",
       "1500.000     0\n",
       "2060.000     0\n",
       "3000.000     6\n",
       "3050.000     2\n",
       "3633.000    20\n",
       "3996.760     3\n",
       "4036.440     0\n",
       "Name: label, dtype: int64"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data['实收资本'].value_counts()\n",
    "data[['实收资本','label']].groupby(by='实收资本')['label'].sum()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": false,
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "funcs.py:205: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  df[rank_col] = df[col].rank(method='max')/(total_count/bin_num*1.0)\n",
      "/home/sf/anaconda2/lib/python2.7/site-packages/pandas/core/indexing.py:517: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  self.obj[item] = s\n",
      "funcs.py:207: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  df[rank_col] =df[rank_col].apply(lambda x:int(x) if x>0 else np.nan)\n",
      "funcs.py:210: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  df[rank_col].iloc[tmp.index]=bin_num-1\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>实收资本</th>\n",
       "      <th>label</th>\n",
       "      <th>样本总数</th>\n",
       "      <th>woe</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本_rank</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0.0</th>\n",
       "      <td>(30.0, 60.0)</td>\n",
       "      <td>39</td>\n",
       "      <td>382</td>\n",
       "      <td>-0.305681</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1.0</th>\n",
       "      <td>(100.0, 750.0)</td>\n",
       "      <td>37</td>\n",
       "      <td>477</td>\n",
       "      <td>-0.607369</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2.0</th>\n",
       "      <td>(1000.0, 4036.44)</td>\n",
       "      <td>97</td>\n",
       "      <td>472</td>\n",
       "      <td>0.516273</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                        实收资本  label  样本总数       woe\n",
       "实收资本_rank                                          \n",
       "0.0             (30.0, 60.0)     39   382 -0.305681\n",
       "1.0           (100.0, 750.0)     37   477 -0.607369\n",
       "2.0        (1000.0, 4036.44)     97   472  0.516273"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from funcs import *\n",
    "tmp,sf = bins_num(data[['实收资本','label']],'实收资本',3)\n",
    "tmp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
